So for this I am thinking of a new config module that has the following config.
display_ssh_fingerprints:
- bob
- /homes/harlowja/.ssh/id_rsa.pub
...
This would also by default add in the "user:" key in config if it exists to the above list.
What would occur is that if the 'name' above is a file the 'ssh-keygen -lf' command will be ran on it and outputed with the filename where it can from
If not a file then there will be some searching to see if we can find that users ssh public key (rsa or dsa, or both). If not found, warn, otherwise print it with the user. If nothing provided then show no ssh keys imported/configured.
So for this I am thinking of a new config module that has the following config.
display_ ssh_fingerprint s: harlowja/ .ssh/id_ rsa.pub
- bob
- /homes/
...
This would also by default add in the "user:" key in config if it exists to the above list.
What would occur is that if the 'name' above is a file the 'ssh-keygen -lf' command will be ran on it and outputed with the filename where it can from
If not a file then there will be some searching to see if we can find that users ssh public key (rsa or dsa, or both). If not found, warn, otherwise print it with the user. If nothing provided then show no ssh keys imported/ configured.