Date: Fri, 5 Jul 2002 04:49:17 +0200 From: Bernd Walter <ticso@cicely5.cicely.de> To: freebsd-current@freebsd.org Subject: sshd login problem Message-ID: <20020705024917.GD40866@cicely5.cicely.de>
index | next in thread | raw e-mail
sshd refuses my login: [51]cicely30> ssh -v c10 OpenSSH_3.1 FreeBSD localisations 20020318, 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: restore_uid debug1: ssh_connect: getuid 1007 geteuid 1007 anon 1 debug1: Connecting to cicely10.cicely.de [3ffe:400:8d0:301:200:92ff:fe94:f91] port 22. debug1: temporarily_use_uid: 1007/100 (e=1007) debug1: restore_uid debug1: temporarily_use_uid: 1007/100 (e=1007) debug1: restore_uid debug1: Connection established. debug1: identity file /var/home/ticso/.ssh/identity type 0 debug1: identity file /var/home/ticso/.ssh/id_rsa type 0 debug1: identity file /var/home/ticso/.ssh/id_dsa type 2 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1 FreeBSD-20020702 debug1: match: OpenSSH_3.4p1 FreeBSD-20020702 pat OpenSSH* Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.1 FreeBSD localisations 20020318 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: 135/256 debug1: bits set: 1633/3191 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'cicely10.cicely.de' is known and matches the DSA host key. debug1: Found key in /var/home/ticso/.ssh/known_hosts2:10 debug1: bits set: 1623/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 debug1: authentications that can continue: publickey,password,keyboard-interactive debug1: next auth method to try is publickey debug1: try pubkey: /var/home/ticso/.ssh/id_dsa debug1: input_userauth_pk_ok: pkalg ssh-dss blen 433 lastkey 0x806a350 hint 2 debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/var/home/ticso/.ssh/id_dsa': debug1: read PEM private key done: type DSA debug1: ssh-userauth2 successful: method publickey debug1: channel 0: new [client-session] debug1: send channel open 0 debug1: Entering interactive session. debug1: ssh_session2_setup: id 0 debug1: channel request 0: pty-req debug1: channel request 0: shell debug1: fd 3 setting TCP_NODELAY debug1: channel 0: open confirm rwindow 0 rmax 32768 debug1: channel_free: channel 0: client-session, nchannels 1 Connection to cicely10.cicely.de closed by remote host. Connection to cicely10.cicely.de closed. debug1: Transferred: stdin 0, stdout 0, stderr 99 bytes in 0.3 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 299.1 debug1: Exit status -1 1.352u 0.081s 0:13.82 10.3% 78+229k 7+0io 5pf+0w Exit 255 On the console I read: Jul 5 04:37:51 cicely10 sshd[238]: fatal: login_get_lastlog: Cannot find account for uid 1007 Interesting as it already had known the homedir. The account is a NIS account which still works when loggin in via rlogin. Adding the acount localy works. cicely10 is an alpha running -current from 3. Jul. The kernel is a day younger. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020705024917.GD40866>
