【问题标题】:OPENSSH - unable to connect local windows through sshOPENSSH - 无法通过 ssh 连接本地窗口
【发布时间】:2019-03-09 18:26:13
【问题描述】:

我使用下面的 url 安装了 openssh 服务器,

https://howtech.tv/basics/how-to-install-openssh-to-windows/

它成功安装在我的本地机器上,即 windows 8.1,我的登录是域登录。但是当我尝试连接到 ssh 服务器时,它会抛出“权限被拒绝”的错误消息,并且在尝试了 3 次后它就退出了 ssh。

ssh username@myhostname

它要求输入密码但没有连接。

username@myhostname's password:
Permission denied, please try again.
username@myhostname's password:
Permission denied, please try again.
username@myhostname's password:
Authentication failed.

C:\Users\username>

请帮忙解决这个问题。

谢谢

【问题讨论】:

  • 这看起来像是一个非常古老、过时、无人维护的 openssh 版本。我建议不要使用它。

标签: openssh


【解决方案1】:

sourceforge 上的程序sshwindows 非常陈旧,似乎无人维护。我强烈建议不要使用它。

此外,一年多来,Windows 8.1 一直不受支持。您应该考虑迁移到已包含 Microsoft 支持的(测试版)SSH 的 Windows 10。

WinSCP 站点有关于如何从 github 安装 Microsoft 版本的说明: https://winscp.net/eng/docs/guide_windows_openssh_server 和 Microsoft 有关于另一种安装方式的文档:https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse

【讨论】:

    猜你喜欢
    • 2020-12-01
    • 2011-12-03
    • 1970-01-01
    • 2012-06-19
    • 1970-01-01
    • 2015-09-20
    • 2020-05-12
    • 2021-08-28
    • 2020-07-27
    相关资源
    最近更新 更多