Moje knowledge base, pro Vás i pro mne. Ale také spousta blbin okolo.

Jak otevrit soubory ve winscp jako root

13.08.2015 10:02

Test connecting with WINSCP using the SFTP protocol using the bitnami (low priviledge user) and your private key.

Find the location of the sftp server, you will enter this into WINSCP later

$ whereis sftp-server

On the Advanced tab of the WINSCP specify the sudo -s command to run the server as su. This works because you are using PKI and are not asked to provide a password when you sudo.

 

sudo -s  /usr/lib/sftp-server