I had the same problem, where ssh would hang on my old router with "debug2: channel 0: open confirm rwindow 0 rmax 32768". I recompiled openssh with a fix: <a href="http://qwerty12.maemobox.org/openssh_badrouter_fix/">http://qwerty12.maemobox.org/openssh_badrouter_fix/</a> and it worked for me. 3 people (that I know of have tested it successfully): me, anders_gud & tybor. I don't know about anders_gud but both me and tybor were using netgear routers. I have since replaced my router with a thomson one and ssh works fine without patching.<br>
<br>P.S, if you don't trust me, the patched packet.c file is there. So you can rebuild your own openssh and diff the packet.c to see the change (it's a one line change)<br><br>Regards,<br>Faheem<br><br><div class="gmail_quote">
On Tue, Feb 10, 2009 at 12:56 PM, Martin Collins <span dir="ltr"><<a href="mailto:maemou@mkcollins.org">maemou@mkcollins.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
When I try to connect to Debian or Kubuntu boxes from my N800 ssh<br>
hangs after successful authentication and eventually times out. They<br>
are running openssh 5.1p1. The N800 is running 4.7p1 and Diablo<br>
5.2008.43-7<br>
Never had any problem with my 770. Can anyone suggest a solution?<br>
<br>
Here's the debug output:<br>
<br>
$ ssh -v <a href="mailto:martin@192.168.0.7">martin@192.168.0.7</a><br>
OpenSSH_4.7p1 Debian-12.maemo2, OpenSSL 0.9.8e 23 Feb 2007<br>
debug1: Reading configuration data /etc/ssh/ssh_config<br>
debug1: Applying options for *<br>
debug1: Connecting to 192.168.0.7 [192.168.0.7] port 22.<br>
debug1: Connection established.<br>
debug1: identity file /home/user/.ssh/identity type -1<br>
debug1: identity file /home/user/.ssh/id_rsa type -1<br>
debug1: identity file /home/user/.ssh/id_dsa type -1<br>
debug1: Remote protocol version 2.0, remote software version OpenSS<br>
H_4.7p1 Debian-8ubuntu1.2<br>
debug1: match: OpenSSH_4.7p1 Debian-8ubuntu1.2 pat OpenSSH*<br>
debug1: Enabling compatibility mode for protocol 2.0<br>
debug1: Local version string SSH-2.0-OpenSSH_4.7p1 Debian-12.maemo 2<br>
debug1: SSH2_MSG_KEXINIT sent<br>
debug1: SSH2_MSG_KEXINIT received<br>
debug1: kex: server->client aes128-cbc hmac-md5 none<br>
debug1: kex: client->server aes128-cbc hmac-md5 none<br>
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent<br>
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP<br>
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent<br>
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY<br>
The authenticity of host '192.168.0.7 (192.168.0.7)' can't be estab lished.<br>
RSA key fingerprint is 78:9e:57:93:13:a8:95:05:9e:05:cf:e0:63:4c:39 :5a.<br>
Are you sure you want to continue connecting (yes/no)? yes<br>
Warning: Permanently added '192.168.0.7' (RSA) to the list of known hosts.<br>
debug1: ssh_rsa_verify: signature correct<br>
debug1: SSH2_MSG_NEWKEYS sent<br>
debug1: expecting SSH2_MSG_NEWKEYS<br>
debug1: SSH2_MSG_NEWKEYS received<br>
debug1: SSH2_MSG_SERVICE_REQUEST sent<br>
debug1: SSH2_MSG_SERVICE_ACCEPT received<br>
debug1: Authentications that can continue: publickey,password<br>
debug1: Next authentication method: publickey<br>
debug1: Trying private key: /home/user/.ssh/identity<br>
debug1: Trying private key: /home/user/.ssh/id_rsa<br>
debug1: Trying private key: /home/user/.ssh/id_dsa<br>
debug1: Next authentication method: password<br>
<a href="mailto:martin@192.168.0.7">martin@192.168.0.7</a>'s password:<br>
debug1: Authentication succeeded (password).<br>
debug1: channel 0: new [client-session]<br>
debug1: Entering interactive session.<br>
debug1: Sending environment.<br>
debug1: Sending env LC_CTYPE = en_GB<br>
debug1: Sending env LANG = en_GB<br>
debug1: Sending env LC_MESSAGES = en_GB<br>
<br>
<loooong wait><br>
<br>
debug1: channel 0: free: client-session, nchannels 1<br>
Read from remote host <a href="http://192.168.0.7" target="_blank">192.168.0.7</a>: Connection timed out<br>
Connection to 192.168.0.7 closed.<br>
debug1: Transferred: stdin 0, stdout 0, stderr 92 bytes in 935.8 seconds<br>
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.1<br>
debug1: Exit status -1<br>
<br>
I have AcceptEnv LANG LC* in sshd_config on the Kubuntu box, not on<br>
Debian - same result.<br>
<br>
Martin<br>
_______________________________________________<br>
maemo-users mailing list<br>
<a href="mailto:maemo-users@maemo.org">maemo-users@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-users" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-users</a><br>
</blockquote></div><br>