Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.