OpenWrt Forum Archive

Topic: ssh cliente hangs

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have compile the openwrt to the alix2 board and when
a trie to make a ssh connection from the Openwrt Box to another machine in my network it works ok,
but if the machine is in the internet it hangs.

exp:

ssh -vvv name@internet_machine

OpenSSH_4.5p1, OpenSSL 0.9.8h 28 May 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
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 OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.5
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
<<long pause>>
Read from socket failed: Connection reset by peer


Can anyone help me?

Best Regards
Helder

I know this post is VERY old but I seem to have the same problem with a system compiled from AA snapshot.

The discussion might have continued from here.