Ik heb deze guide gevogld
http://www.hacksonville.com/2013/hardening-a-vps/
om mijn kersverse VPS te "hardenen" echter kan ik nu niet meer schrijven naar mijn WWW dir via FTP, en ik kom er niet helemaal uit hoe ik dit weer kan oplossen:
het gaat om /var/www/html op een Centos 6, maar in welke config moet ik nu gaan zoeken om weer te mogen schrijven ?
wanneer ik
<code>
vi /etc/ssh/sshd_config
# Add the following line to limit SSH access to only the ssh group that we created earlier.
AllowGroups ssh
# Uncomment or add this line to disallow the root account SSH access. Many attackers will attempt to brute-force the root account for SSH access. This step is redundant as we’ve limited login to the ssh group, but a good security best-practice.
PermitRootLogin no</code>
eruit haal dan kan ik weer met root inloggen en werkt het wel! (logisch, maar niet echt gewenst)
http://www.hacksonville.com/2013/hardening-a-vps/
om mijn kersverse VPS te "hardenen" echter kan ik nu niet meer schrijven naar mijn WWW dir via FTP, en ik kom er niet helemaal uit hoe ik dit weer kan oplossen:
het gaat om /var/www/html op een Centos 6, maar in welke config moet ik nu gaan zoeken om weer te mogen schrijven ?
wanneer ik
<code>
vi /etc/ssh/sshd_config
# Add the following line to limit SSH access to only the ssh group that we created earlier.
AllowGroups ssh
# Uncomment or add this line to disallow the root account SSH access. Many attackers will attempt to brute-force the root account for SSH access. This step is redundant as we’ve limited login to the ssh group, but a good security best-practice.
PermitRootLogin no</code>
eruit haal dan kan ik weer met root inloggen en werkt het wel! (logisch, maar niet echt gewenst)
[ Voor 43% gewijzigd door Reloader op 28-11-2013 10:38 ]