跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • ssh 连接 VMware 虚拟机失败, FinalShell 却可以
未分類
14 7 月 2020

ssh 连接 VMware 虚拟机失败, FinalShell 却可以

ssh 连接 VMware 虚拟机失败, FinalShell 却可以

資深大佬 : xiangchen2011 3

环境

  • MacBook 13 2017
  • Host MacOS 10.12.6
  • Guest Ubuntu 18.04

日志

OpenSSH_7.4p1, LibreSSL 2.5.0 debug1: Reading configuration data /Users/xiangchen2011/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 53: Applying options for * debug1: Connecting to 192.168.102.134 [192.168.102.134] port 22. debug1: Connection established. debug1: identity file /Users/xiangchen2011/.ssh/id_rsa type 1 debug1: key_load_public: No such file or directory debug1: identity file /Users/xiangchen2011/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/xiangchen2011/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/xiangchen2011/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/xiangchen2011/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/xiangchen2011/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/xiangchen2011/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/xiangchen2011/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.4 ssh_exchange_identification: Connection closed by remote host 

大佬有話說 (4)

  • 資深大佬 : mnssbe

    日志显示证书认证失败, 证书不存在

  • 主 資深大佬 : xiangchen2011

    @mnssbe #1 我并没有配置使用证书认证这个地址啊?新建的虚拟机,home 目录 ssh 的 config 文件里面也没有`*通配符。
    检查`/etc/ssh/ssh_config`有下面的配置:
    “`
    # XAuthLocation added by XQuartz ( http://www.xquartz.org)
    Host *
    XAuthLocation /opt/X11/bin/xauth
    “`
    注释后,问题解决,感谢

  • 主 資深大佬 : xiangchen2011

    Final Shell 却可以正常登陆。。。。迷

  • 資深大佬 : shunconf

    已经弃坑 FinalShell,我的问题和主反过来的

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具