SSH Closes Immediately After Opening

Wallace Forman wallace.forman at gmail.com
Fri Jul 1 01:12:17 AEST 2016


Embarrassing to say, I'm really not sure what constitutes a "console" or
"shell". To explain what does and does not seem to be working:

1) I have two windows computers on the same wireless network, both with
openssh for windows installed from the link previously sent.

2) On computer 1, sshd is running, but when connecting with "ssh localhost"
from the command prompt on that same computer, sshd seems to be accepting
the password, but closing immediately (see output in previous messages).

3) On computer 2, sshd runs, and I can connect on that computer from the
command prompt or from putty.

4) When I try to connect from computer 2 to computer 1 (from putty or
command prompt), the session closes immediately, as when I try to connect
from Computer 1.

5) Also, Computer 2 does not seem to be accepting the password input from
computer 1. Haven't really tried to troubleshoot this yet, perhaps this is
an sshd_config issue.

Wallace Forman
913-669-4453

On Wed, Jun 29, 2016 at 11:23 PM, Hisashi T Fujinaka <htodd at twofifty.com>
wrote:

> On Wed, 29 Jun 2016, ?ngel Gonz?lez wrote:
>
> On 29/06/16 22:57, Wallace Forman wrote:
>>
>>> I used the latest version from here:
>>>
>>> http://www.mls-software.com/opensshd.html
>>>
>>> On my other (Windows 10) machine (on which openssh works), I have cygwin
>>> installed, but if ssh was using cygwin, I wasn't aware of it. I just ran
>>> ssh from the command prompt.
>>>
>>> Wallace Forman
>>>
>>
>> Yes, that ssh server is cygwin-based. It is however including the basic
>> cygwin files it needs, so the fact that it actually doesn't work without a
>> normal cygwin install seems a bug in the package.
>>
>
> I wasn't really paying attention but the first thing I thought of was
> this sounds like the problem I usually see when my shell is broken. Can
> you log into the account using the console?
>
> --
> Hisashi T Fujinaka - htodd at twofifty.com
> BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
>


More information about the openssh-unix-dev mailing list