本来ssh是好了的,不知道怎么回事,突然又不行了。
su hadoop
chmod 700 /home/hadoop/
chmod 700 /home/hadoop/.ssh
chmod 644 authorized_keys
chmod 600 id_rsa
参考:https://blog.csdn.net/wzq6578702/article/details/52661804
本来ssh是好了的,不知道怎么回事,突然又不行了。
su hadoop
chmod 700 /home/hadoop/
chmod 700 /home/hadoop/.ssh
chmod 644 authorized_keys
chmod 600 id_rsa
参考:https://blog.csdn.net/wzq6578702/article/details/52661804