ssh允许密码登录
vi /etc/ssh/sshd_configPasswordAuthentication yessystemctl restart sshd.service
ssh-keygen -t rsa
ssh-copy-id -i /home/deploy/.ssh/id_rsa.pub root@192.168.61.64Last updated
vi /etc/ssh/sshd_configPasswordAuthentication yessystemctl restart sshd.servicessh-keygen -t rsa
ssh-copy-id -i /home/deploy/.ssh/id_rsa.pub root@192.168.61.64Last updated