【问题标题】:Error connecting ConEmu cli to remote server将 ConEmu cli 连接到远程服务器时出错
【发布时间】:2018-07-16 03:16:36
【问题描述】:

我一直在尝试使用以下命令从 Windows 终端应用程序 ConEmu 连接我的远程 CentOS 服务器:

"C:\Program Files\PuTTY\plink.exe" username@<ipaddress>

我不断收到错误:

FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)

【问题讨论】:

    标签: linux cmd putty


    【解决方案1】:

    命令有两种运行方式:

    1. 绝对路径配置。

    "C:\Program Files\PuTTY\plink.exe" username@&lt;ipaddress&gt; -ssh

    1. 相对路径配置。

    为此,您需要设置环境变量。存储命令的绝对路径值的位置。

    plink.exe -shh username@<ipaddress>
    

    【讨论】:

      【解决方案2】:

      如果已经保存了 PuTTY 会话,则不要像这样提供主机名:

      "C:\Program Files\PuTTY\plink.exe" username@<ipaddress> -ssh
      

      plink.exe -shh username@<ipaddress>
      

      可以使用 PuTTY 上保存的会话的名称:

      plink.exe -ssh username@<savedsessionname>
      

      【讨论】:

        猜你喜欢
        • 2018-09-22
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-07-24
        • 2012-09-06
        • 1970-01-01
        • 2020-02-03
        • 2012-04-20
        相关资源
        最近更新 更多