1. vi /etc/ssh/sshd_config
2. Modify those lines:
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
3. service sshd restart
1. vi /etc/ssh/sshd_config
2. Modify those lines:
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
3. service sshd restart
上一篇:鸟哥精解linux系统/etc/sshd_config设定档
下一篇:A simple script to create sshd_key_file & sync to ohter servers
精益一直是DevOps的核心,就像敏捷是从精益中生长出来一样。
MySQL 5.7 的安装与卸载
python 同步脚本,主要是因为SSH KEY 服务器宕机了,需要同步authorized_keys 文件,可所有的机器的密码不同意,所有就 ......
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M