š» Software
How can I get the comment of the current authorized_keys ssh key?
Fresh5 days ago
Mar 15, 202616650 viewsConfidence Score0%
0%
Problem
Edit: What I really need to know WHICH ssh key from authorized_keys has been used to identify the currently logged on user. According to "man sshd": I see that when I use ssh-keygen, the comment is usually the local identity of the user. Is there any way to access this value when I'm on the remote ā¦
Error Output
Protocol 2 public key consist of options, keytype, base64-encoded key, comment.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix ā Awaiting Verification
Fix for: How can I get the comment of the current authorized_keys ssh key?
Low Risk
It's for convenience, from the man page on Debian: For RSA1 keys, there is also a comment field in the key file that is only for convenience to the user to help identify the key. The comment can tell what the key is for, or whatever is useful. The cā¦
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix