Re: Why does my ssh session terminate immediately?
Vincent Lefevre <firstname.lastname@example.org> 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 email@example.com bash')
> So, perhaps that's the "-t" which is a problem.
> What if you run 'ssh -t firstname.lastname@example.org bash'?
Here is what I get:
| > ssh -t email@example.com bash
| Connection to 192.168.2.109 closed.