0

I'm in PowerShell and I can ssh into the server via:

ssh -i my_rsa user@1.2.3.4

How can I transfer files with this same my_rsa private key? Filezilla doesn't support the key and I've tried to convert it to PEM and PPK but that's not working. Git is not an option. Is there an easy way I can SFTP with this RSA key?

Giacomo1968
  • 58,727
Ryan
  • 131

1 Answers1

0

The command you search for is scp and one example transfer will be:

scp -i my_rsa local_file user@1.2.3.4:

If you need more complex operations like upload more files in different directories you can check sftp command

Romeo Ninov
  • 7,848