有2台Linux机器A和B,想要配置A登陆到B上免输入密码
ssh-keygen -t rsa
mkdir -p ~/.ssh cat path_of_id_rsa.pub_from_A/id_rsa.pub > ~/.ssh/authorized
service ssh restart