I am not finding an option to enter the keyfile when adding a network folder in Dolphin.

The "Add Network Folder" type is SSH. Dolphin allows me to enter a username, a server IP address, a port, the protocol (which is SFTP), and a folder. But Dolphin does not allow me to specify the SSH key. BTW, the SSH key requires a passphrase.

Can I make Dolphin work with an SSH key that requires a passphrase?

1 Answer 1


You should be able to add a custom host entry in your ~/.ssh/config file, specifying the port, key file, and domain to use. Something like this, modified to have the values you need:

Host specialport
  HostName real.domain.com
  Port 50000
  IdentityFile ~/.ssh/special-key_rsa.1

You can make the specialport value in there be whatever you want. Once you place that in the ssh config file, you can use that value as the hostname to connect to in Dolphin, like sftp://specialport/home/ (if that is the URL scheme that Dolphin uses these days).

  • 1
    Thanks! Exactly what I needed. I found a little more info via man ssh_config.
    – MountainX
    Commented Jun 24, 2012 at 19:03
  • 1
    Works for me too! Commented Oct 17, 2014 at 18:15
  • it should also be noted that the user to log in as can be specified in User directive in ~/.ssh/config file or in the connection URL sftp://user@host on dolphin.
    – user359096
    Commented Aug 21, 2018 at 11:58
  • This also allows you to SSH into the host simply with ssh specialport on CLI, FYI.
    – cyqsimon
    Commented Sep 14, 2021 at 14:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .