我们一直在Azure上使用Ubuntu虚拟机已经有一段时间了,很少出现问题。但是最近其中一个虚拟机表现异常。突然间,这个Ubuntu虚拟机开始拒绝公钥 -
ssh -i ~/azure.key abc@xyz.cloudapp.net
Permission denied (publickey).
Verbose 给我带来了更加令人困惑的标志 -
~$ ssh -i -v -v -v ~/azure.key abc@xyz.cloudapp.net
Warning: Identity file -v not accessible: No such file or directory.
OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
ssh: Could not resolve hostname /home/abc/azure.key: Name or service not known
想知道是否有人遇到过这个问题,或者能否提出想法/解决方案?