配置ssh远程连接
实现两台linux主机之间通过公钥验证能够互相实现免密登陆
1.实验配置:
[root@NODE ~]# rpm -qa |grep ssh
[root@NODE ~]# ps -aux | grep ssh
[root@NODE ~]# ssh-keygen -t rsa
[root@NODE ~]# ll /root/.ssh
[root@NODE ~]# ssh-copy-id root@192.168.94.135
[root@NODE ~]# ssh root@192.168.94.135
2.实验结果
NODE访问server
server访问NODE