Psftp Connection Using Key Authentication

Psftp Connection Using Key Authentication

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.

1 Answer

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

psftp -i "C:\path\mykey.ppk" 

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

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.