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'm trying to add a remote ssh network folder in Kubuntu 11.04.

I can connect to this remote server via konsole ssh

: ssh 10.3.140.111

However when I try and add a "new network folder" from the network section of dolphin I get the following error message

Unable to connect to server. Please check your settings and try again.

Trying to connect using konsole and dolphin...

: dolphin sftp://user@10.3.140.111:22/home/user

gives me another error:

Connection to host The host key for this server was not found, but another type of key exists.

An attacker might change the default server key to confuse your client into thinking the key does not exist.

Please contact your system administrator.
is broken.

I can't seem to find any help for this issue, any ideas?

share|improve this question
add comment

3 Answers 3

Remove the known_hosts file:

user@nixbox:~$ cd ~/.ssh
user@nixbox:~/.ssh$ ls
known_hosts
wolf@nixbox:~/.ssh$ rm known_hosts

Then try to add folder again and click 'yes' for the key. The file will automatically be recreated.

share|improve this answer
1  
This removes all keys, not just the problematic one. –  scai Feb 11 '13 at 12:59
add comment
  1. close Dolphin
  2. open terminal and enter:
    $ ssh-keygen -R 10.3.140.111
  3. open Dolphin and enter into the address bar:
    sftp://user@10.3.140.111:22/home/user
    (the port number is optional since it is the default 22 in this case)
  4. Click "yes" to the dialog that comes up
share|improve this answer
add comment

use fish://user@10.3.140.111:22/home/user

instead of sftp and it'll work just great.

you can also set up your ~/.ssh/config to store ip, username, port etc so then you can just type fish://myserver/ in dolphin

share|improve this answer
    
Don't know why this answer is downvoted. I tried and it works. Just choose fish not sftp in the Add Network Folder dialog. –  pram Feb 8 at 17:25
add comment

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.