Using SFTP with Thunar file manager and a PEM key on Ubuntu

2.6k Views Asked by At

I am using the Thunar file manager on Ubuntu Desktop and wish to connect to a Ubuntu server using SFTP and a PEM key.

What is the syntax in Thunar for this? Was thinking along the lines of

sftp://[email protected] /pemkey ?
2

There are 2 best solutions below

0
user10311596 On

Added the following to my ssh config file:

Host myserver
HostName xx.xx.xx.xx
User myuser
IdentityFile key.pem
Compression yes

then sftp://myserver in Thunar.

Now have a connection.

0
João Lucas Campos Gonçalves On

Just to complement user10311596's answer, you have to add this settings in: ~/.ssh/config file. Create one if the file does not exists.