I am on Amazon EC2 using Ubuntu 10.04.2
My web folder is owned by www-data so I want to be able to log into my server as www-data for ssh and scp.
Thanks!
Adding the line to my /etc/ssh/sshd_config does not seem to work.
AllowUsers www-data
|
I am on Amazon EC2 using Ubuntu 10.04.2 My web folder is owned by www-data so I want to be able to log into my server as www-data for ssh and scp. Thanks! Adding the line to my /etc/ssh/sshd_config does not seem to work.
| |||
|
feedback
|
|
This is kind of insecure. I would suggest you to upload to an intermediate area using another user and run a If you really insist on logging on as In the end, you can also try some solutions of this question. | |||||
feedback
|
|
On Debian, which Ubuntu is based on, the www-data user has /bin/sh as the default shell. To enable SFTP, you can create
You can verify the www-data users settings (home dir, shell, etc) using Make sure your sshd_config has | |||
|
feedback
|