[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why does my ssh session terminate immediately?



Hi Bob, Guido, and Vincent

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'?
>

Thanks for all the follow-ups on this matter.  I will try all your
suggestions and report back.  Unfortunately, this will happen in about
12 hours only, since I have no access to that network right now.

I can access the files, but thanks for the suggestion of sftp, which did
not occur to me.

I think I have tried the 'ssh -t' but I don't recall the effect I saw.
More on that when I tried it.

Regards,
Andreas


Reply to: