ssh-login problems (password-auth)

From: Markus Muessig (mmuessig_at_multamedio.de)
Date: 05/24/04


Date: Mon, 24 May 2004 16:28:38 +0200

hello forum,
i try to connect via ssh from 192.168.0.49 to 192.168.0.1.
tests i did:
- ping to 192.168.0.1 works
- nmap to 192.168.0.1 shows an open ssh-port
- sshd_config on 192.168.0.1 has same auth-methods configured
as ssh_config on 192.168.0.49
- root login is permitted

here is a debug-output from the command: ssh -v root@192.168.0.1
root@calisto:~/.ssh# ssh -v shaper@192.168.0.1
OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3, SSH protocols 1.5/2.0, OpenSSL
0x0090603f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to 192.168.0.1 [192.168.0.1] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_3.6.1p1 FreeBSD-20030924
debug1: match: OpenSSH_3.6.1p1 FreeBSD-20030924 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 126/256
debug1: bits set: 1585/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.0.1' is known and matches the DSA host key.
debug1: Found key in /root/.ssh/known_hosts:26
debug1: bits set: 1587/3191
debug1: ssh_dss_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
Connection closed by 192.168.0.1
debug1: Calling cleanup 0x8063aac(0x0)

the other way works. means:
ssh root@192.168.0.49 from 192.168.0.1 works
ssh root@192.168.0.1 from 192.168.0.1 does not work

don't know, what i did wrong.
do anyone have any ideas?

best regards, markus muessig

-- 
----------------------------------------------------------------------
Markus Müssig                       MULTA MEDIO Informationssysteme AG
- Systemadministrator -                         Mergentheimer Str. 76a
                                                       97082 Wuerzburg
mailto:mmuessig@multamedio.de                 Tel: +49 (0)931 79717-18
http://www.multamedio.de                      Fax: +49 (0)931 79717-30


Relevant Pages

  • hp-ux Secure Shell client core dumps
    ... I am in bad luck with the ssh client on HP-UX. ... 25873: debug1: Rhosts Authentication disabled, ... 25873: debug1: Remote protocol version 2.0, ... SSH Secure Shell ...
    (comp.security.ssh)
  • RE: RE : RE : X11Forwarding problem on Solaris.
    ... The program is using the display environment variable. ... First i use ssh to connect from node2 to node4 and then I start the PROGRAM ... debug1: Connection established. ... Subject: RE: RE: X11Forwarding problem on Solaris. ...
    (SSH)
  • Re: Key exchange dead time (3 minutes or more) between clients request and servers reply
    ... A process on one of the other Solaris zones had ... Instantly ssh logins became several orders of magnitude more ... debug1: Connection established. ... Remote protocol version 2.0, ...
    (comp.security.ssh)
  • Solaris->Fedora6 unidirectional problem
    ... I have a strange unsolved unidirectional problem using ssh from Solaris to Fedora6: ... I have a couple FC6 behind the Solaris boxes ... debug2: fd 4 setting O_NONBLOCK ... debug1: fd 4 clearing O_NONBLOCK ...
    (SSH)
  • [SLE] Slow SSH login
    ... A> ssh B ... second delay no matter the authentication mechanism ... debug1: Authentication succeeded. ...
    (SuSE)