login with sudo -u another (i.e. change to a non-root user)
My WinSCP sessions are running the following executable:
(determined by
From a PuTTY session I can change (to a non-root) user with the following command:
I'd like to do that with WinSCP.
Under "Advanced Settings" I configured "SFTP Server" as follows:
I get the following error message:
/usr/libexec/openssh/sftp-server
ps -ef | grep 'ftp'
)
From a PuTTY session I can change (to a non-root) user with the following command:
sudo -u another -i
Under "Advanced Settings" I configured "SFTP Server" as follows:
sudo -u another -c /usr/libexec/openssh/sftp-server
Any ideas what I'm doing wrong?Cannot initialize SFTP protocol. Is the host running an SFTP server?