Welcome! Log In Create A New Profile

Advanced

ssh / telnet session are closed immediately

Posted by ringprince 
ssh / telnet session are closed immediately
April 28, 2013 05:20PM
Hi all,

I have problems loggin in to my pogoplug with debian installed. I can not start an interactive session (neither via ssh nor via telnet).

I have asked a question about this on the debian-users list already here where you can find the long story until now:
http://comments.gmane.org/gmane.linux.debian.user/454878

Quick summary: I still have no clue what is wrong.

Long summary:
Neither root nor an ordinary user can log into the pogo interactively. The problem occurs both on ssh and telnet, thus, I suspect the problem not to be an sshd misconfiguration.
What I can do is executing commands via ssh access (as in 'ssh root@192.168.2.109 bash' which gives me a crippled bash).

Latest guess was it is sth related to the (pseudo-)ttys.

I also followed the commit related to a similar error in geexbox:
http://www.geexbox.org/forum/topic/telnet-connection-closed-by-foreign-host/
and re-compiled a kernel with
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=16
but that did not help either.

So, my question is: Is this somehow known to anybody here? And is there anything I can do about this?

I can provide any file that might be of interest.

Any help on this is greatly appreciated.

Regards,
Andreas
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: