linux拷贝公钥问题
[www@kvmhost01~]$ssh-copy-id-i/home/www/.ssh/id_rsa.pubroot@nodeserverroot@nodeserver...
[www@kvmhost01 ~]$ ssh-copy-id -i /home/www/.ssh/id_rsa.pub root@nodeserver
root@nodeserver's password:
Now try logging into the machine, with "ssh 'root@nodeserver'", and check in:
.ssh/authorized_keys
to make sure we haven't added extra keys that you weren't expecting.
[www@kvmhost01 ~]$ ssh 192.168.100.40
www@192.168.100.40's password:
提示成功 但什么ssh访问时提示输入密码 什么位置做错了 展开
root@nodeserver's password:
Now try logging into the machine, with "ssh 'root@nodeserver'", and check in:
.ssh/authorized_keys
to make sure we haven't added extra keys that you weren't expecting.
[www@kvmhost01 ~]$ ssh 192.168.100.40
www@192.168.100.40's password:
提示成功 但什么ssh访问时提示输入密码 什么位置做错了 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询