ssh免密码登录本机
ssh-keygen -t dsa -P '' -f ./.ssh/id_dsa
cat ./.ssh/id_dsa.pub >> ./.ssh/authorized_keys
chmod 700 ./.ssh
[jason@localhost ~]$ chmod 600 ./.ssh/authorized_keys
ssh免密码登录本机
ssh-keygen -t dsa -P '' -f ./.ssh/id_dsa
cat ./.ssh/id_dsa.pub >> ./.ssh/authorized_keys
chmod 700 ./.ssh
[jason@localhost ~]$ chmod 600 ./.ssh/authorized_keys