And does the /bin/sftp-server
exists?
Martin, Thanks a lot for your reply.
Actually, I have tried both SFTP and Shell.
If set SFTP server to "sudo /bin/sftp-server", the login fail, it says
Sever sent command exit status 1
Cannot initialize SFTP protocol. Is the host running an SFTP server?
This maybe a frequently asked question, but I do checked the FAQ and searched a lot.
What I did is:
1. Add "myname ALL = NOPASSWD: ALL" into /etc/sudoers
2. Advanced site settings -> Shell -> Shell, input sudo -s
After this, I am still telled if edit files with rwxr-xr-x
Permission denied.
Error code: 3
Error message from server: Permission denied
Could anyone help me with the problem?
Any help will be highly appreciated.