gpt4 book ai didi

linux - 将 ConEmu cli 连接到远程服务器时出错

转载 作者:太空宇宙 更新时间:2023-11-04 04:44:09 26 4
gpt4 key购买 nike

我一直在尝试使用以下命令从 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)

最佳答案

有两种方式运行该命令:

  1. 绝对路径配置。

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

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

    plink.exe -shh username@<ipaddress>

    关于linux - 将 ConEmu cli 连接到远程服务器时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48636586/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com