当前位置:网站首页>SSH password free login

SSH password free login

2022-07-28 22:17:00 mixboot

List of articles

Linux



Preface

ssh


One 、 This machine SSH The public key is uploaded to Linux The server

ssh-copy-id -p 22 [email protected]192.168.1.2

Two 、 Do not log in with a password SSH

  • Ubuntu
  • cat /etc/ssh/sshd_config
#PasswordAuthentication yes
PasswordAuthentication no
/etc/init.d/ssh restart
原网站

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