-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection reset by 127.0.0.1 port 22 on Windows Server 2012 R2 #1249
Comments
Server 2012 is not supported? |
move folder to C:\Program Files\OpenSSH, now can run successfully!! how can change the folder location to another? |
Did you follow troubleshooting steps in wiki ? doing a |
debug3: mm_request_receive entering |
run as administrator |
try with key based authentication. |
You don't understand my point. Why can I use “C:\Program Files\OpenSSH” ? |
I can use “C:\OpenSSH” I can't use “C:\Users\Administrator\1” |
As long as there is C:\Users\Administrator , the sshd service will connect reset it. |
I recommend thoroughly going through https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps. It should explain why I talked about key based authentication. |
@wanghaiqing2015, per wiki install Win32 OpenSSH, bulletin 3. Extract contents of the latest build to C:\Program Files\OpenSSH (Make sure binary location has the Write permissions to just to SYSTEM, Administrator groups. Authenticated users should and only have Read and Execute.). Can you check the ACLs difference between C:\Program Files\OpenSSH and C:\Users\Administrator? |
@wanghaiqing2015, after I update the ACL of folder C:\users\Administrator\OpenSSH-Win64 to below, ssh works fine. |
Please try the latest version |
This happen with me and others...: |
I fix the permission from files, according to these comments in issues:
But this error remains. SERVER LOG (Try #1 - with client Windows):
CLIENT-1 LOG (Windows 10):
SERVER LOG (Try #2 - with client MobaXTerm):
CLIENT-1 LOG (MobaXTerm):
|
@fabriciorsf - Username resolution fails with error 1355 (The specified domain either does not exist or could not be contacted.) |
OpenSSH:
v7.7.2.0p1-Beta (OpenSSH-Win64.zip)
OS:
cn_windows_server_2012_r2_vl_with_update_x64_dvd_6052729.iso
Prepare:
Closed the firewall
Install:
powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1
net start sshd
Message:
C:\Users\Administrator\Desktop\OpenSSH-Win64>ssh 127.0.0.1
Connection reset by 127.0.0.1 port 22
The text was updated successfully, but these errors were encountered: