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

top 2 comments
sorted by: hot top controversial new old
[โ€“] MagnificentSteiner@lemmy.zip 1 points 14 hours ago

Hi, you'll probably find this handy to flesh out your SSH knowledge.

https://www.youtube.com/watch?v=WwGRGfLy6q8

[โ€“] Successful_Try543@feddit.org 2 points 18 hours ago* (last edited 1 hour ago)

The first time 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'.