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.
Related videos on Youtube
Author by
mikolokoroko
Updated on September 18, 2022Comments
-
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 almost 5 yearsThat's the one !! Thank you much appreciated :-)