将 ConEmu cli 连接到远程服务器时出错
Error connecting ConEmu cli to remote server
我一直在尝试使用以下命令从 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)
如果已经有保存的 PuTTY 会话,则不要像这样提供主机名:
"C:\Program Files\PuTTY\plink.exe" username@<ipaddress> -ssh
或
plink.exe -shh username@<ipaddress>
可以使用 PuTTY 上保存的会话的名称代替:
plink.exe -ssh username@<savedsessionname>
运行命令有两种方式:
- 绝对路径配置。
"C:\Program Files\PuTTY\plink.exe" username@<ipaddress> -ssh
- 相对路径配置。
为此,您需要设置环境变量。存储命令的绝对路径值的位置。
plink.exe -shh username@<ipaddress>
我一直在尝试使用以下命令从 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)
如果已经有保存的 PuTTY 会话,则不要像这样提供主机名:
"C:\Program Files\PuTTY\plink.exe" username@<ipaddress> -ssh
或
plink.exe -shh username@<ipaddress>
可以使用 PuTTY 上保存的会话的名称代替:
plink.exe -ssh username@<savedsessionname>
运行命令有两种方式:
- 绝对路径配置。
"C:\Program Files\PuTTY\plink.exe" username@<ipaddress> -ssh
- 相对路径配置。
为此,您需要设置环境变量。存储命令的绝对路径值的位置。
plink.exe -shh username@<ipaddress>