PSFTP connection using key authentication

private-keypsftpsftpssh

Using PuTTY to SSH onto server. But can't work out how to connect to SFTP.

Private key is on a USB, maybe that's where I'm going wrong !?

I have tried various ways e.g. PSFTP, but can't really find a clear answer when key authentication is required.

Best Answer

With psftp, use -i switch to specify your private key file:

psftp -i "C:\path\mykey.ppk" user@example.com

You can also use Pageant as with PuTTY. Or re-use PuTTY stored session (with private key specified), using -load switch.

Related Question