Looks like it is still trying to prompt you for a password. Make sure you have ALL=NOPASSWD set for your account, as per the FAQ.
- martin
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Hi, i have used winscp sftp for quite some time. Then i decided to use it to upload and edit files in root. I couldnt do that even when my user has nopasswd to sudo. So i saw on this page i could type sudo before the sftp server in the sftp tab. I did like this "sudo /usr/libexec/openssh/sftp-server" but it wont connect. It will connect with "/usr/libexec/openssh/sftp-server". Why wont it do it with sudo like that post said? https://winscp.net/eng/docs/faq_su#fn1 please help, i really need to be able to edit root.
Sorry, I'm not an *nix expert. The FAQ covers everything I know on the topic. It works for me.
Try checking the server-side logs to see why it won't connect.
Hi, i have used winscp sftp for quite some time. Then i decided to use it to upload and edit files in root. I couldnt do that even when my user has nopasswd to sudo. So i saw on this page i could type sudo before the sftp server in the sftp tab. I did like this "sudo /usr/libexec/openssh/sftp-server" but it wont connect. It will connect with "/usr/libexec/openssh/sftp-server". Why wont it do it with sudo like that post said? https://winscp.net/eng/docs/faq_su#fn1 please help, i really need to be able to edit root.