Windows Server 2008 openssh 连接重置

Windows Server 2008 openssh connection reset

在 Windows Server 2008 上,我安装了 openssh 但无法连接。在 Windows Server 2012 上有效。 服务器日志:

2708 2020-09-28 14:24:36.368 debug3: checking match for 'Group administrators' user administrator host 42.120.75.144 addr 42.120.75.144 laddr 172.16.12.219 lport 22
2708 2020-09-28 14:24:36.368 debug1: generate_s4u_user_token: LsaLogonUser() failed. User 'administrator' Status: 0xC000000D SubStatus 0.
2708 2020-09-28 14:24:36.368 debug3: get_user_token - unable to generate token for user administrator
2708 2020-09-28 14:24:36.368 debug1: generate_s4u_user_token: LsaLogonUser() failed. User 'administrator' Status: 0xC000000D SubStatus 0.
2708 2020-09-28 14:24:36.368 error: get_user_token - unable to generate token on 2nd attempt for user administrator
2708 2020-09-28 14:24:36.368 fatal: ga_init, unable to resolve user administrator
2708 2020-09-28 14:24:36.368 debug1: do_cleanup
2708 2020-09-28 14:24:36.368 debug1: Killing privsep child 2848

客户端日志:

Connection reset by 47.116.68.56 port 22

根据这个帖子:https://community.spiceworks.com/topic/2257505-ssh-error-connection-reset-by-peer

他们指出 Windows Server 2008 使用较旧的加密协议,在查看您的错误日志后,这似乎是连接失败的原因。