1. Test connecting with WINSCP using using the SCP protocol and the bitnami (low priviledge user) and your private key.
  2. On the Advanced tab of WINSCP specify the Shell to be
    1. sudo su-
    2. scp

Use the SFTP protocol

  1. Test connecting with WINSCP using the SFTP protocol using the bitnami (low priviledge user) and your private key.
  2. Find the location of the sftp server, you will enter this into WINSCP later
    • $ whereis sftp-server
  3. 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.
    1. sudo -s  /usr/lib/sftp-server
    2. winscp
  4. You should now be able to connect.