#ssh-keygen
#ssh-copy-id root@192.168.1.112
报错/usr/bin/ssh-copy-id: ERROR: No identities found
此问题为缺少公钥路径,加上路径执行如下:
# ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.1.112
权限/root/.ssh/authorized_keys
#ssh-copy-id root@192.168.1.112
报错/usr/bin/ssh-copy-id: ERROR: No identities found
此问题为缺少公钥路径,加上路径执行如下:
# ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.1.112
权限/root/.ssh/authorized_keys
编辑回复