I have two files,
id_rsa.pub, what command can be used to validate if they are the
If they’re on your local system, stick
id_rsa.pub in your
localhost using the
id_rsa key. If it works, then they match.
cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys ssh -i $HOME/.ssh/id_rsa localhost
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.