Hello guys,
Here is an issue that I’m pretty sure some of you have solved Anyway here is the problem:
- Ubuntu secured, no root SSH login allowed, new user added and RSA key authentication put in place for new user
- Now comes an issue… I can’t SFTP to the server using www-data user (as SSH login has been disabled). So apparently I should install the RSA Key for the www-data user as well (?)
I don’t know how to solve this…
Should I do this:
- create a .ssh/authorized_keys inside the var/www folder and then
- nano /var/www/.ssh/authorized_keys to add my RSA key and
- chmod 400 /var/www/.ssh/authorized_keys
Thanks a lot, as you can guess my linux kung-fu is… well minimal
Cheers,