From owner-freebsd-stable Tue Feb 27 10:25:56 2001 Delivered-To: freebsd-stable@freebsd.org Received: from InfoMath.math.NCTU.edu.tw (infomath.math.nctu.edu.tw [140.113.22.119]) by hub.freebsd.org (Postfix) with ESMTP id 786F637B719; Tue, 27 Feb 2001 10:25:36 -0800 (PST) (envelope-from gslin@InfoMath.math.NCTU.edu.tw) Received: (from gslin@localhost) by InfoMath.math.NCTU.edu.tw (8.11.0/8.9.3) id f1RIOpO94810; Wed, 28 Feb 2001 02:24:51 +0800 (CST) (envelope-from gslin) Date: Wed, 28 Feb 2001 02:24:51 +0800 From: Gea-Suan Lin To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: ssh2 problem Message-ID: <20010228022451.A94503@informath.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG OS: FreeBSD 4.2-stable I just upgraded my machine, but when I try to connect via ssh2, then the system hang if I use ssh-agent. (No problem when not using ssh-agent) Infomath [~] (2:22) [W6] -gslin- ssh -v -2 -C ccca SSH Version OpenSSH-2.1, protocol versions 1.5/2.0. Compiled with SSL (0x0090581f). debug: Reading configuration data /etc/ssh/ssh_config debug: ssh_connect: getuid 0 geteuid 0 anon 0 debug: Connecting to ccca.NCTU.edu.tw [140.113.27.50] port 22. debug: Allocated local port 829. debug: Connection established. debug: Remote protocol version 1.99, remote software version OpenSSH_2.3.0 Enabling compatibility mode for protocol 2.0 debug: Local version string SSH-2.0-OpenSSH-2.1 debug: send KEXINIT debug: done debug: wait KEXINIT debug: got kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 debug: got kexinit: ssh-dss debug: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc@lysator.liu.se debug: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc@lysator.liu.se debug: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160@openssh.com debug: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160@openssh.com debug: got kexinit: none,zlib debug: got kexinit: none,zlib debug: got kexinit: debug: got kexinit: debug: first kex follow: 0 debug: reserved: 0 debug: done debug: kex: server->client 3des-cbc hmac-sha1 zlib debug: kex: client->server 3des-cbc hmac-sha1 zlib debug: Sending SSH2_MSG_KEXDH_INIT. debug: bits set: 517/1024 debug: Wait SSH2_MSG_KEXDH_REPLY. debug: Got SSH2_MSG_KEXDH_REPLY. debug: keytype ssh-dss debug: keytype ssh-dss debug: Host 'ccca.nctu.edu.tw' is known and matches the DSA host key. debug: bits set: 513/1024 debug: len 55 datafellows 0 debug: dsa_verify: signature correct debug: Wait SSH2_MSG_NEWKEYS. debug: Enabling compression at level 6. debug: GOT SSH2_MSG_NEWKEYS. debug: send SSH2_MSG_NEWKEYS. debug: done: send SSH2_MSG_NEWKEYS. debug: done: KEX2. debug: send SSH2_MSG_SERVICE_REQUEST debug: service_accept: ssh-userauth debug: got SSH2_MSG_SERVICE_ACCEPT debug: authentications that can continue: publickey,password debug: try pubkey: /home/staff/gslin/.ssh/id_dsa debug: read DSA private key done debug: sig size 20 20 debug: ssh-userauth2 successfull debug: fd 4 setting O_NONBLOCK debug: channel 0: new [client-session] debug: send channel open 0 debug: Entering interactive session. debug: callback start debug: client_init id 0 arg 0 debug: channel request 0: shell debug: client_set_session_ident: id 0 debug: callback done debug: channel 0: open confirm rwindow 0 rmax 16384 debug: channel 0: rcvd adjust 32768 debug: channel 0: send data len 1 debug: callback start debug: client_input_channel_req: rtype exit-signal reply 0 debug: callback done debug: channel 0: rcvd eof debug: channel 0: output open -> drain debug: channel 0: rcvd close debug: channel 0: input open -> closed debug: channel 0: close_read To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message