Gnome and KDE "passwords and keys" tool can't import SSH key
by berndbausch from LinuxQuestions.org on (#518ZH)
I created a passphrase-protected SSH key as follows:
Code:ssh-keygen -f mykeyOn the command line, I copied the key to the SSH server, added it to ssh-agent and can now use it to access the server without having to enter the passphrase. All is good.
I thought I'd try the same with Gnome's keyring manager named Passwords and Keys. It has an import feature.
File->Import->Select mykey.pubopens a window with an error message:
Code:Could not display "student@debuefi"
Reason: Cannot display a file of this typestudent@debuefi is the identity of this key. I tried the KDE environment of the same machine. The tool is the same as on Gnome, and it issues the same error message.
I tried to grep the error message in /var/log and the systemd journal, but got no result. An internet search doesn't bring back anything either.
Where should I look for clues?


Code:ssh-keygen -f mykeyOn the command line, I copied the key to the SSH server, added it to ssh-agent and can now use it to access the server without having to enter the passphrase. All is good.
I thought I'd try the same with Gnome's keyring manager named Passwords and Keys. It has an import feature.
File->Import->Select mykey.pubopens a window with an error message:
Code:Could not display "student@debuefi"
Reason: Cannot display a file of this typestudent@debuefi is the identity of this key. I tried the KDE environment of the same machine. The tool is the same as on Gnome, and it issues the same error message.
I tried to grep the error message in /var/log and the systemd journal, but got no result. An internet search doesn't bring back anything either.
Where should I look for clues?