SSH密钥登陆

scp id_rsa.pub root@kdaye.com:/root/ chmod 700 .ssh/ cat id_rsa.pub >> .ssh/authorized_keys chmod 400 authorized_keys vim /etc/ssh/sshd_config # PasswordAuthentication no…