Bugzilla – Bug 1119928
Import of public ssh key failed/not written to .ssh/authorized_keys
Last modified: 2021-09-01 12:58:04 UTC
Created attachment 793017 [details]
During installation of openSUSE MicroOS, I imported the authorized_keys file into YaST2 (didn't know which key from it I exactly needed, so I imported that file and not a *.pub file).
I got no error from YaST, but afterwards, /root/.ssh/authorized_keys was empty and there was an error in the log files about the key import. But no error was shown to the user.
Do you have imported it via linuxrc settings or during the YaST workflow ?
(In reply to Stefan Schubert from comment #1)
> Do you have imported it via linuxrc settings or during the YaST workflow ?
Via YaST workflow.
Yes, the return value will not be processed:
Only the warning will be logged as Thorsten has already mentioned:
users/ssh_authorized_keys_file.rb:76 The key 'ssh-dss.......' does not look like a valid SSH key
Tracked in Trello.