Cannot select SSH keys for pubkey auth on Linux with KDE
|Reported by:||Jeffrey Walton||Owned by:|
|Keywords:||pubkey sftp .ssh authroized_keys||Cc:|
|Component version:||3.46.3||Operating system type:||Linux|
|Operating system version:||5.13.0-30-generic|
Description (last modified by )
I am trying to SFTP to another box on my network. The workstation I am using is Kubuntu 20.04.4 LTS, x86_64, fully patched. Kubuntu uses KDE, and includes Filezilla 3.46.3-1build1.
My network is setup for public key authentication only. All machines have the following:
$ cat /etc/ssh/sshd_config.d/10-pubkey_auth.conf # Disable passwords PasswordAuthentication no ChallengeResponseAuthentication no KerberosAuthentication no KerberosOrLocalPasswd no GSSAPIAuthentication no UsePAM no # Enable public key PubkeyAuthentication yes
I have my keys in $HOME/.ssh. I use them all the time for SSH and SCP:
$ ls ~/.ssh authorized_keys id_dsa id_ecdsa id_ed25519 id_rsa known_hosts config id_dsa.pub id_ecdsa.pub id_ed25519.pub id_rsa.pub
When I try to SFTP to a box with Filezilla, I am getting tripped up because the UI does not allow me to select a private key in the Browse for Key File dialog. The private keys are missing from the selection:
The dialog also does not automatically select the private key based on a selected public key. (I have to select a public key because that's the only thing displayed).
I don't know if this behavior is specific to Kubuntu, or if it is present in all Debian or Ubuntu derivatives. (This is my first time using Filezilla).