Re: Why does my ssh session terminate immediately?
Vincent Lefevre <vincent@vinc17.net> writes:
> On 2013-04-22 22:49:23 +0200, Andreas Leha wrote:
>> thanks for that. Here is what I get:
>> ,----
>> | + '[' -z '' ']'
>> | + return
>> | Connection to 192.168.2.109 closed.
>> `----
>
> You said earlier:
>
>> (I can, for instance, run a crippled bash with 'ssh root@192.168.2.109 bash')
>
> So, perhaps that's the "-t" which is a problem.
>
> What if you run 'ssh -t root@192.168.2.109 bash'?
Here is what I get:
,----
| > ssh -t root@192.168.2.109 bash
| Connection to 192.168.2.109 closed.
`----
Regards,
Andreas
Reply to: