Is there a command I can use to verify the public key (id_rsa.pub), just the format only.
Sometimes I have added a new linebreak, sometimes the file missed the ssh-rsa
prefix, so is there a command to validate with?
Is there a command I can use to verify the public key (id_rsa.pub), just the format only.
Sometimes I have added a new linebreak, sometimes the file missed the ssh-rsa
prefix, so is there a command to validate with?
You can use
ssh-keygen
for this. Despite its name it can do many more things than generating keys: