[dolphin] [Bug 451755] Can't use RSA identity key file with sftp Network Folder

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Mar 22 20:01:58 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=451755

--- Comment #2 from ioo+kde at posteo.net ---
I have tried this many times.

Here is my .ssh stanza:

Host remotehost
    HostName hostname
    User user
    Port 1000
    IdentityFile ~/.ssh/id_rsa

When I try to setup a sftp connection (Dolphin->Remote->Network->Add New
Network Folder->Secure shell (ssh)->Next:

- Enter the information into the form 
- Select protocol "sftp"
-Click "Save and Connect

The dialogue asks me:

Authentication Dialog
Passphrase
Password.

It is asking me for a password for the account it did not recognize I was using
an rsa key.

If I select cancel, it returns me to the form,
- Change protocol to fish
- Keep all other settings the same

The dialogue asks me:

SSH Authentication
Enter passphrase for key /home/user/.ssh/id_rsa.

If I enter my key passphrase it works.

** The dialogue box that comes up when selecting sftp is different than when
selecting fish. Fish works, sftp does not work.** 

Even though I am using the same server information, when selecting sftp it does
not recognize the key. When just changing this protocol to fish it works as
expected.

Yes I can connect with the terminal.
Yes the key is in authorized keys.

The problem is quite specific, if I change the protocol from fish to sftp it
does not work. With fish it works as expected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list