Duplicating failing when using sudo on login
I've got an SFTP site set up as per the "Use sudo on Login" section of https://winscp.net/eng/docs/faq_su:
Am I missing something, or is this expected?
- SFTP->SFTP server is set to
sudo /usr/lib/openssh/sftp-server
-
myusername ALL=NOPASSWD: /usr/lib/openssh/sftp-serveris set in sudoers
- Additionally, authentication is via password-protected SSH key.
Duplicating via local temporary copy works fine.Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).
Am I missing something, or is this expected?