Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know how to mount sftp connection in kubuntu (using Dolphin), but this way it's impossible to use private key file. Is there any way to mount a sftp resource using key file in kubuntu?

share|improve this question
up vote 1 down vote accepted

Load the key into ssh-agent. Kubuntu starts one by default, so all you should have to do is:

ssh-add ~/.ssh/id_rsa
share|improve this answer

The SFTP kioslave supports private key authentication without SSH agent if you pass the username with the hostname, e.g.

sftp://test@example.com 

in dolphin/konqueror will try authenticating with a private key and ask for its password (if the key is password protected).

P.S.  Posting here because it's pretty high in the google search results.

share|improve this answer

You must log in to answer this question.

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