当前位置:网站首页>Shell (32): configure SSH privacy free

Shell (32): configure SSH privacy free

2022-06-11 23:45:00 Lxinccode

Reference resources :

-bash: ssh-copy-id: command not found Two solutions for _ Beijing - Bai Sheng's blog -CSDN Blog _ssh-copy-id The order does not exist

Either way

ssh-copy-id -i /Users/liyue/.ssh/id_rsa.pub [email protected] -p 22

cat  /root/.ssh/id_rsa.pub | ssh -p 22 [email protected] 'cat  >> .ssh/authorized_keys'

Production key

ssh-keygen -t rsa -N '' <<EOF
/root/.ssh/id_rsa
yes


EOF

原网站

版权声明
本文为[Lxinccode]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206112342239616.html