spark 学习之 hadoop搭建之 ssh免密码登录
$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
重启ssh:rcsshd restart
开机启动ssh服务:
systemctl enable sshd.service
$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
重启ssh:rcsshd restart
开机启动ssh服务:
systemctl enable sshd.service