由于公钥而拒绝权限

由于公钥而拒绝权限

我刚刚在云谷歌上创建了一个虚拟实例,我想在终端中连接到它,但出于某种原因我无法连接。为什么不允许我复制它?如果它存在,为什么它会拒绝权限?谢谢

roka@alma:/mnt/c/Users/roka/.ssh$ ssh-copy-id -i id_rsa.pub [email protected]
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
Enter passphrase for key './id_rsa':

/usr/bin/ssh-copy-id: WARNING: All keys were skipped because they already exist on the remote system.

roka@alma:/mnt/c/Users/roka/.ssh$ ssh [email protected]
Permission denied (publickey).

相关内容