Filth's avatar

sFTP cant use ssh key?

Ok so I created my droplet and ssh key and can acces the server through terminal.

I have large images folder to upload as I dont store these in my git project. I assumed sFTP would be the solution.

when trying to connect with my FTP client (filezilla)

I set the protocol to SFTP and host as my server ip.

Logon type I choose key file but if I type in the field ~/.ssh/id_rsa i get an error staing the file does not contain a private key.

Can anyone point me in the right direction?

0 likes
3 replies
Filth's avatar

ok I had to convert the key file to unpassworded for filezilla to use it, Im open to suggestions if there is a better/more secure way to do this

bashy's avatar

Er, you should use something like SCP? Is this a one time upload?

scp /some/path/or/file.tar.gz user@hostname_or_ip:/some/path/

Please or to participate in this conversation.