login remote with ssh private key

佚名 / 2023-07-18 / 原文

chmod 700

-rwx------

blank line at the bottom of the file, LF

login

ssh name@ip -i /path//private.key

exit

debug

  • blank line
  • LF

validate the public key

ssh-keygen -l -f the.pub