标签:pre lan zed ack fine mod cat ssh 免密
ssh-keygen -t dsa -P ‘‘ -f ~/.ssh/id_dsa
cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
要保证(权限很重要!!!):
~/.ssh需要是700权限
authorized_keys需要是644权限
chmod 700 ~/.ssh
chmod 644 ~/.ssh/authorized_keys
标签:pre lan zed ack fine mod cat ssh 免密
原文地址:https://www.cnblogs.com/yako/p/12925089.html