Keys
Copied keys
If you copied keys from somewhere, they look good, but do NOT work. Try this command:
restorecon -Rv /root/.ssh
SSH Keys
The following command to decide if the key is pair:
ssh-keygen -y -f panyu101.github.rsa > pub-from-private
cat panyu101.github.rsa.pub > actual-pub
diff pub-from-private actual-pub
Pub key finger print
ssh-keygen -lf /opt/key/panyu101.github.rsa.pub
4096 SHA256:KgyVik6NmDV1F8fynuQiSxvUrslkpeqXerdFjARuZH8 daqin_pan@yahoo.com (RSA)
SHA256:KgyVik6NmDV1F8fynuQiSxvUrslkpeqXerdFjARuZH8 should match the one at:https://github.com/settings/keys