[Bug 206601] New: ssh suddently hungs when called to execute remote commands
https://bugzilla.novell.com/show_bug.cgi?id=206601 Summary: ssh suddently hungs when called to execute remote commands Product: SUSE Linux 10.1 Version: Final Platform: All OS/Version: SuSE Linux 10.1 Status: NEW Severity: Blocker Priority: P5 - None Component: Translations AssignedTo: ke@novell.com ReportedBy: mavrikas@gmail.com QAContact: ke@novell.com This has happened in the past too, but i could not find a solution. Without any changes, the following happen: ssh host ->works ssh host echo foo -> hungs after sending command 'echo foo' ssh -t host echo foo -> works. My guess is that at some point, something goes terribly wrong with ttys, but i can't finger out what. I mark this as blocker, as it a major bug and keep happening to almost every SuSE version I've used. The problem is expanded to both scp and sftp. Both hung when ssh calls subsystem sftp. **************************************** Output of ssh -v 150.140.140.39 echo foo georgemv@alezouar:~> ssh -p 2222 -v 150.140.140.39 echo foo OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005 debug1: Reading configuration data /home/georgemv/.ssh/config debug1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to 150.140.140.39 [150.140.140.39] port 22. debug1: Connection established. debug1: identity file /home/georgemv/.ssh/identity type -1 debug1: identity file /home/georgemv/.ssh/id_rsa type 1 debug1: identity file /home/georgemv/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_4.1 debug1: match: OpenSSH_4.1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.2 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(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host '150.140.140.39' is known and matches the RSA host key. debug1: Found key in /home/georgemv/.ssh/known_hosts:1 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/georgemv/.ssh/identity debug1: Offering public key: /home/georgemv/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = en_US.UTF-8 debug1: Sending command: echo foo **** And here it hungs for ever**** ****************************************** Output of /usr/sbin/sshd -d -f /etc/ssh/sshd_config_moufa on the server machine vvti:~ # !/ /usr/sbin/sshd -d -f /etc/ssh/sshd_config_moufa debug1: sshd version OpenSSH_4.1p1 debug1: private host key: #0 type 0 RSA1 debug1: read PEM private key done: type RSA debug1: private host key: #1 type 1 RSA debug1: read PEM private key done: type DSA debug1: private host key: #2 type 2 DSA debug1: rexec_argv[0]='/usr/sbin/sshd' debug1: rexec_argv[1]='-d' debug1: rexec_argv[2]='-f' debug1: rexec_argv[3]='/etc/ssh/sshd_config_moufa' debug1: Bind to port 2222 on 0.0.0.0. Server listening on 0.0.0.0 port 2222. Generating 768 bit RSA key. RSA key generation complete. debug1: Server will not fork when running in debugging mode. debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7 debug1: inetd sockets after dupping: 3, 3 Connection from 150.140.211.15 port 17191 debug1: Client protocol version 2.0; client software version OpenSSH_4.2 debug1: match: OpenSSH_4.2 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-1.99-OpenSSH_4.1 debug1: permanently_set_uid: 71/65 debug1: list_hostkey_types: ssh-rsa,ssh-dss debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: client->server aes128-cbc hmac-md5 none debug1: kex: server->client aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: KEX done debug1: userauth-request for user georgemv service ssh-connection method none debug1: attempt 0 failures 0 Failed none for georgemv from 150.140.211.15 port 17191 ssh2 debug1: PAM: initializing for "georgemv" debug1: PAM: setting PAM_RHOST to "ivtec.upnet.gr" debug1: PAM: setting PAM_TTY to "ssh" debug1: userauth-request for user georgemv service ssh-connection method publickey debug1: attempt 1 failures 1 debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 1000/100 (e=0/0) debug1: trying public key file /home/georgemv/.ssh/authorized_keys debug1: matching key found: file /home/georgemv/.ssh/authorized_keys, line 1 Found matching RSA key: 35:15:10:2f:98:db:fe:c5:78:c2:33:f6:30:0f:96:90 debug1: restore_uid: 0/0 Postponed publickey for georgemv from 150.140.211.15 port 17191 ssh2 debug1: userauth-request for user georgemv service ssh-connection method publickey debug1: attempt 2 failures 1 debug1: temporarily_use_uid: 1000/100 (e=0/0) debug1: trying public key file /home/georgemv/.ssh/authorized_keys debug1: matching key found: file /home/georgemv/.ssh/authorized_keys, line 1 Found matching RSA key: 35:15:10:2f:98:db:fe:c5:78:c2:33:f6:30:0f:96:90 debug1: restore_uid: 0/0 debug1: ssh_rsa_verify: signature correct debug1: do_pam_account: called Accepted publickey for georgemv from 150.140.211.15 port 17191 ssh2 Accepted publickey for georgemv from 150.140.211.15 port 17191 ssh2 debug1: monitor_child_preauth: georgemv has been authenticated by privileged process debug1: PAM: reinitializing credentials debug1: permanently_set_uid: 1000/100 debug1: Entering interactive session for SSH2. debug1: server_init_dispatch_20 debug1: server_input_channel_open: ctype session rchan 0 win 131072 max 32768 debug1: input_session_request debug1: channel 0: new [server-session] debug1: session_new: init debug1: session_new: session 0 debug1: session_open: channel 0 debug1: session_open: session 0: link with channel 0 debug1: server_input_channel_open: confirm session *** server output stops here **** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206601 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ke@novell.com Component|Translations |Other ------- Comment #1 from ke@novell.com 2006-09-19 02:10 MST ------- Does not look like a translation bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206601 ke@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ke@novell.com |bnc-team-screening@forge.provo.novell.com QAContact|ke@novell.com |qa@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206601 cthiel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |postadal@novell.com |screening@forge.provo.novell| |.com | Severity|Blocker |Normal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206601 postadal@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mavrikas@gmail.com ------- Comment #2 from postadal@novell.com 2006-10-04 06:56 MST ------- I can't reproduce it, please append more verbose output (use -vvv and -ddd and append strace output for client and server). Append config files too (/etc/ssh) and exact version of openssh rpm on both sides. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206601 ------- Comment #3 from postadal@novell.com 2006-10-19 15:25 MST ------- ping -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206601 postadal@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anicka@novell.com Status|NEEDINFO |RESOLVED Info Provider|mavrikas@gmail.com | Resolution| |INVALID ------- Comment #4 from postadal@novell.com 2006-10-26 08:01 MST ------- no response, close bug -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com