PSFTP connection using key authentication

12,493

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

psftp -i "C:\path\mykey.ppk" [email protected]

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

Share:
12,493

Related videos on Youtube

mikolokoroko
Author by

mikolokoroko

Updated on September 18, 2022

Comments

  • mikolokoroko
    mikolokoroko over 1 year

    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.

  • mikolokoroko
    mikolokoroko almost 5 years
    That's the one !! Thank you much appreciated :-)