安装:
CentOS,RHEL,Fedora
yum install openssh-server openssh-clients
Ubuntu,Debian,Mint
yum install openssh-server,openssh-client
[root@localhost ~]# ssh-copy-id -i .ssh/id_rsa.pub 192.168.1.210
reverse mapping checking getaddrinfo for slave1 [192.168.1.210] failed - POSSIBLE BREAK-IN ATTEMPT!
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Solution:
Modify the "/etc/ssh/ssh_config" file at localhost
GSSAPIAuthentication no
重启服务