ssh-copy-id

来源:互联网 发布:重庆房地产楼盘数据库 编辑:程序博客网 时间:2024/04/29 15:56

安装:

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

重启服务

0 0
原创粉丝点击