How to run SUDO command in WinSCP to transfer files from Windows to linux [duplicate]

I know this is old, but it is actually very possible.

  • Go to your WinSCP profile (Session > Sites > Site Manager)

  • Click on Edit > Advanced… > Environment > SFTP

  • Insert sudo su -c /usr/lib/sftp-server in “SFTP Server” (note this path might be different in your system)

  • Save and connect

Source

AWS Ubuntu 18.04:
enter image description here

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)