OpenSSH login failing thru PuTTY/plink

View: New views
3 Messages — Rating Filter:   Alert me  

OpenSSH login failing thru PuTTY/plink

by Chap Harrison :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

I've installed and configured OpenSSH on two Windows 2003 Server / Cygwin machines ("chaplab1" and "chaplab2").  I've tried, with PuTTY and plink.exe on a Windows 2003 machine on the same LAN, to connect chaplab2, and get "failed to authenticate".  But I *can* PuTTY to chaplab1/Cygwin, and from its command line I can ssh into chaplab2.

All three nodes are on 192.168.*

Both chaplab1 and chaplab2's host.allow & host.deny files are identical:

host.allow:
sshd: ALL

host.deny:
ALL:ALL EXCEPT localhost AND '192.168.':DENY

In fact, chaplab 1&2 should be identical in as many ways as possible.

Can anyone suggest a next step to try?

Thanks
Chap

Re: OpenSSH login failing thru PuTTY/plink

by Jurriaan Kalkman :: Rate this Message:

| View Threaded | Show Only this Message

From: Chap Harrison <clh@...>
Date: Wed, Jul 15, 2009 at 08:16:05AM -0700

>
> Hi,
>
> I've installed and configured OpenSSH on two Windows 2003 Server / Cygwin
> machines ("chaplab1" and "chaplab2").  I've tried, with PuTTY and plink.exe
> on a Windows 2003 machine on the same LAN, to connect chaplab2, and get
> "failed to authenticate".  But I *can* PuTTY to chaplab1/Cygwin, and from
> its command line I can ssh into chaplab2.
>
> All three nodes are on 192.168.*
>
> Both chaplab1 and chaplab2's host.allow & host.deny files are identical:
>
> host.allow:
> sshd: ALL
>
> host.deny:
> ALL:ALL EXCEPT localhost AND '192.168.':DENY
>
> In fact, chaplab 1&2 should be identical in as many ways as possible.
>
> Can anyone suggest a next step to try?
>
any messages in the ssh logs on the servers? Any difference if you run
sshd with debug on on the servers?

Kind regards,
Jurriaan
--
"A moment," said Reith. "At a conscious level I am convinced of your
integrity, but I can't control my instinctive suspicions. Let us make
the arrangements together."
        Jack Vance - Servants of the Wankh

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Re: OpenSSH login failing thru PuTTY/plink

by Chap Harrison :: Rate this Message:

| View Threaded | Show Only this Message

Jurriaan Kalkman wrote:
any messages in the ssh logs on the servers? Any difference if you run
sshd with debug on on the servers?
This probably isn't what you mean, but -- I looked in /var/log/.  sshd.log is length 0 and hasn't been touched in several weeks.  The only file with a current modification timestamp is lastlog, which contains nothing of interest (mainly binary zeroes).  To activate sshd debugging, I used the Windows Computer Management > Services panel and gave '-d 5' as a start parameter; started the sshd service, attempted a login, stopped the service, and looked at sshd.log.  It was still zero length.

So - what must I do to get ssh logging and useful sshd debugging information?

Best regards,
Chap