Ordinary User and WinSCP on Ubunut 14.04
WinSCP is a creature comfort. Transferring of files is a breeze but nowadays "root" isn't allowed to login and requires "sudo" which you can't run since the app is GUI and not terminal. There is a solution: SFTP and some settings that need to be changed.
Procedure:
- Edit sudoer and add this line "<user> ALL=NOPASSWD: /usr/lib/openssh/sftp-server".
- Go to WinSCP and edit your connection. Select SFTP, click "Advanced", look for the SFTP setting page and put this in: "sudo /usr/lib/openssh/sftp-server"
Note: check the actual directory of the file. It may be stored somewhere else
Here is another option
No comments:
Post a Comment