Re: Why does my ssh session terminate immediately?
On 2013-04-24 00:24:16 +0200, Vincent Lefevre wrote:
> On 2013-04-23 23:05:27 +0200, Andreas Leha wrote:
> > Here is what I get:
> > ,----
> > | > ssh -t root@192.168.2.109 bash
> > | Connection to 192.168.2.109 closed.
> > `----
>
> So, it seems that the problem comes from the "-t". Perhaps it can't
> allocate a pseudo-tty?
>
> BTW, does "ssh -t localhost" work on both machines?
Things you can also try:
ssh -t root@192.168.2.109 echo 'TERM: $TERM'
and try from another terminal.
Do you have anything special in your ".ssh/config"?
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: