Nautilus doesn't provide a way to connect to remote server via sftp if key has changed?

Asked by Avi Schwartz on 2020-06-24

I rebuilt one of my machines from scratch which means that the ssh key has changed. While I can connect to that machine from the command line via ssh, if I try to connect to it via Nautilus all I get is a "Host key verification failed" error. When using the command line I get notified which line in known_hosts is the offending one so I can remove it if it is legit. Nautilus doesn't report the offending line.

Is there a way to force a connect? Or at least get Nautilus to report the offending line in known_hosts? Otherwise I have to remove the known_hosts file but this is not a good solution.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2020-06-24
Last reply:
2020-06-24

If you SSH to the server and accept the new certificate, does this help?

I suggest you report a bug. If you run:

ubuntu-bug nautilus

It will start the process for you

Can you help with this problem?

Provide an answer of your own, or ask Avi Schwartz for more information if necessary.

To post a message you must log in.