Re: User Unable to Connect ...

From: Desmond Coughlan (pasdespam_desmond@noos.fr)
Date: 05/14/02


From: Desmond Coughlan <pasdespam_desmond@noos.fr>
Date: Tue, 14 May 2002 13:07:58 +0000

Le Tue, 14 May 2002 12:38:04 +0000, Desmond Coughlan <pasdespam_desmond@noos.fr> a écrit :

> A friend who has an account on my FreeBSD box, is having difficulty
> connecting. The logs are below, with all private information commented
> out ...

This is what he sees if he uses verbose mode when trying to connect ...

[root@fra-linux1 log]# ssh -v -p 22 -l XXXXX 212.198.69.6
OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 0 geteuid 0 anon 1
debug1: Connecting to 212.198.69.6 [212.198.69.6] port 22.
debug1: temporarily_use_uid: 0/0 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 0/0 (e=0)
debug1: restore_uid
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /root/.ssh/identity type -1
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 2.0.13
(non-commer
debug1: match: 2.0.13 (non-commercial) pat ^2\.0\.1[3-9]
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_2.9p2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client 3des-cbc hmac-md5 none
debug1: kex: client->server 3des-cbc hmac-md5 none
debug1: dh_gen_key: priv key bits set: 205/384
debug1: bits set: 516/1024
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '212.198.69.6' is known and matches the DSA host key.
debug1: Found key in /root/.ssh/known_hosts2:1
debug1: bits set: 502/1024
debug1: len 40 datafellows 74335
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: buggy server: service_accept w/o service
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue:
debug1: next auth method to try is publickey
debug1: try privkey: /root/.ssh/identity
debug1: try privkey: /root/.ssh/id_rsa
debug1: try privkey: /root/.ssh/id_dsa
debug1: next auth method to try is password
XXXXX@212.198.69.6's password:
debug1: authentications that can continue:
Permission denied, please try again.
XXXXX@212.198.69.6's password:
debug1: authentications that can continue:
Permission denied, please try again.
XXXXX@212.198.69.6's password:
Received disconnect from 212.198.69.6: 12: Authentication method disabled.
debug1: Calling cleanup 0x8067590(0x0)
[root@fra-linux1 log]#

Is is possibly that he's logged in as root on his own box ..?

Help !! :-(

-- 
Desmond Coughlan        |***#1 YGL#4 YFC#1 YFB#1 UKRMMA#14 two#38
desmond @ noos.fr       |BONY#48 ANORAK#11
http://mapage.noos.fr/desmond/
Clé Publique : http://mapage.noos.fr/desmond/pgp/pubring.pkr