作者热门文章
- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
我们在 Azure 上使用 Ubuntu VM 一段时间了,很少遇到任何问题。然而,其中一台虚拟机最近出现了问题。出乎意料的是,Ubuntu VM 开始拒绝公钥 -
ssh -i ~/azure.key <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4b2a29280b333231652827243e2f2a3b3b65252e3f" rel="noreferrer noopener nofollow">[email protected]</a>
Permission denied (publickey).
冗长的迹象让我更加困惑 -
~$ ssh -i -v -v -v ~/azure.key <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="37565554774f4e4d19545b58425356474719595243" rel="noreferrer noopener nofollow">[email protected]</a>
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
想知道是否有人看到这个问题或可以提出想法/解决方案?
最佳答案
下面这个怎么样?
$ ssh -i ~/azure.key -v -v -v <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="ceafacad8eb6b7b4e0ada2a1bbaaafbebee0a0abba" rel="noreferrer noopener nofollow">[email protected]</a>
关于linux - 无法连接到 Azure Ubuntu VM - 公钥被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22218282/
我是一名优秀的程序员,十分优秀!