Closed
Description
"OpenSSH for Windows" version
v1.0.0.0-Beta
Server OperatingSystem
Windows 10 Enterprise
Client OperatingSystem
Windows 10 Enterprise
What is failing
When opening an SSH connection to the server and the SSH2_MSG_KEXINIT
is sent by the client (confirmed via ssh -vvv), the server fails with:
18884 2018-01-31 15:19:29.699 debug1: inetd sockets after dupping: 3, 3
18884 2018-01-31 15:19:29.699 Connection from 127.0.0.1 port 64971 on 127.0.0.1 port 22
18884 2018-01-31 15:19:29.699 debug1: Client protocol version 2.0; client software version OpenSSH_7.2
18884 2018-01-31 15:19:29.699 debug1: match: OpenSSH_7.2 pat OpenSSH* compat 0x04000000
18884 2018-01-31 15:19:29.699 debug1: Local version string SSH-2.0-OpenSSH_7.6
18884 2018-01-31 15:19:29.699 debug2: fd 3 setting O_NONBLOCK
18884 2018-01-31 15:19:29.700 debug1: LsaLogonUser failed NTSTATUS: 1
18884 2018-01-31 15:19:29.700 error: unable to generate token for user sshd
18884 2018-01-31 15:19:29.903 debug1: LsaLogonUser failed NTSTATUS: 1
18884 2018-01-31 15:19:29.903 error: unable to generate token on 2nd attempt for user sshd
18884 2018-01-31 15:19:29.903 error: unable to get security token for user sshd
18884 2018-01-31 15:19:29.903 error: posix_spawn failed
18884 2018-01-31 15:19:29.903 debug3: send_rexec_state: entering fd = 6 config len 273
18884 2018-01-31 15:19:29.903 debug3: ssh_msg_send: type 0
18884 2018-01-31 15:19:29.903 debug3: write ERROR from cb(2):232, io:000002A431CABE90
18884 2018-01-31 15:19:29.903 error: ssh_msg_send: write
18884 2018-01-31 15:19:29.903 fatal: send_rexec_state: ssh_msg_send failed
18884 2018-01-31 15:19:29.903 debug1: do_cleanup
The issue seems identical to #1027
- I've followed the instructions
- Installed binaries to
C:\Program Files\OpenSSH
- I've already verified running as SYSTEM (whoami) and turned on DEBUG3 as noted in the troubleshooting directions
- Tried deleting and re-installing, following the guide exactly.
Based on a comment in that issue, it sounds like the sshd (privilege separation account) token couldn't be generated.
Thoughts, additional troubleshooting options?