this post was submitted on 22 Feb 2026
11 points (100.0% liked)

Linux Questions

3758 readers
12 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

When I try to do this, the connection dialog hangs. I have PermitRootLogin yes in /etc/ssh/sshd_config and I can log in as the root user using the command line with sftp root@IP, but when I try it with Dolphin it does not work.

Update: AI was able to help me solve this. I'm not quite sure what the issue is, but running this and then trying to connect solved it:ssh-keyscan -p 22 <SERVER_IP> >> ~/.ssh/known_hosts

you are viewing a single comment's thread
view the rest of the comments
[–] Successful_Try543@feddit.org 1 points 11 hours ago

When you connect to a server via ssh on command line, you are usually prompted to add the public key of the server to the ~/.ssh/known_hosts by confirmation. This is what the code you've posted does 'manually'.