Server is setup with ssh passphrase free key and user password.
No problem using cli but Dolphin won’t auth (sftp).
I guess Dolphin assumes access after the first step (key) then discovers no access.
Any way to work around this?
It works to different server with user password only (popup).
I don’t want this server to have only password or only key.
kioslave5 kf.kio.core: Deprecated: messageBox() called with null secondaryActionText arg. type: 3 text: "<html><p>The authenticity of host <i>ipaddress</i> cannot be established.</p>\n\n<p>The ssh-ed25519 key fingerprint is:\n\n<pre>bladibla</pre>Are you sure you want to continue connecting?</p></html>"
For this to be working - you need to add your host to .ssh/config file as mentioned by @Molski in comment #2 and you will need to use the Host part of the entry - also known as nickname.
I maintain a server where I have no password - only a passphrase protected ssh key.
Nice - I didn’t know that - describing it as a two-factor authentication makes more sense.
But that is what one accomplish using a passphrase protected ssh key - so using the above with a passphrase protected ssh-key, would make it - a three-factor authentication?
It’s a little easier now, knowing that you meant “passphrase”, which is different than the ssh password.
A passphrase is used to encrypt and unlock your private key. Unlike an ssh password, it is not stored on the remote system. Instead, it protects the private key locally, and you must provide the passphrase to use that key.
There is an app that allows kwallet integration, so you can safely store things like ssh passphrases in memory.
It is an official package called:
pacman -Si ksshaskpass
Repository : extra
Name : ksshaskpass
Version : 6.6.3-1
Description : ssh-add helper that uses kwallet and kpassworddialog
Architecture : x86_64
URL : https://kde.org/plasma-desktop/
Licenses : GPL-2.0-or-later
Groups : plasma
Provides : x11-ssh-askpass
Depends On : gcc-libs glibc kcoreaddons ki18n kwidgetsaddons qt6-base qtkeychain-qt6
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 36.28 KiB
Installed Size : 127.81 KiB
Packager : Antonio Rojas <arojas@archlinux.org>
Build Date : Wed 18 Mar 2026 07:23:43 AM
Validated By : MD5 Sum SHA-256 Sum Signature
I have not tested this, but it seems straight forward enough:
Create an entry in your ~/.ssh/config to use the correct ssh key (you cannot provide the key as part of the connection string in dolphin)
Host server2
hostname some.domain.tld
port 33333
identityfile ~/.ssh/server2.key
user nix
Connecting with dolphin - make sure you supply the username as part of the connection string sftp://nix@server2 - this will open a password dialog with the username preset - all you have to do is provide the password.
Below topic gets around in troubleshooting corners - I have only provided it as a reference - I found it as part of my test.