login remote with ssh private key

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
posted @ 2023-07-18 16:27  fndefbwefsowpvqfx  阅读(2)  评论(0编辑  收藏  举报