SSH Closes Immediately After Opening

Scott Neugroschl scott_n at xypro.com
Thu Jun 30 02:48:06 AEST 2016


You can turn on server logging with the -ddd option.  This will run the server in the foreground and send debug output to stderr

-----Original Message-----
From: openssh-unix-dev [mailto:openssh-unix-dev-bounces+scott_n=xypro.com at mindrot.org] On Behalf Of Wallace Forman
Sent: Wednesday, June 29, 2016 9:25 AM
To: openssh-unix-dev at mindrot.org
Subject: SSH Closes Immediately After Opening

Hello there,

I am having trouble connecting to a ssh server installed with openssh recently. I have posted about the problem on Superuser, and I will repost a description of the issue below. If anyone here is able to rescue me from my deep well of ignorance, I will be very grateful.

http://superuser.com/questions/1094734/ssh-automatically-disconnects-after-login

I'm trying to set up an ssh server using OpenSSH on Windows 10. On one of my computers, I've been able to set up the server and successfully login from the same machine.

On the other computer, the SSH session seems to be terminating immediately, despite having the same default settings in a similar Windows 10 system.

After logging in from the command prompt with ssh -vvv localhost, here is the information displayed after the password has been entered:
[redacted]


I've seen a few posts suggesting that I turn on logging <http://unix.stackexchange.com/questions/166975/ssh-connection-to-server-closed-after-authentication-immediately>
to
get more information. However, I can't figure out how to accomplish this.
None of the log files that appear in C:\Program Files\OpenSSH\var\loghave any information, and I can't figure out where the logs might be, or how else to enable them.

Let me know if you have any suggestions how to solve my problem or at least to enable logging. Thanks!
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev at mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


More information about the openssh-unix-dev mailing list