Hi Bob,

Bob Proulx <b...@proulx.com> writes:

> Andreas Leha wrote:
>> I have the problem that my ssh session terminates immediately after
>> logging in.
>
> I don't see a problem with the files you included.  But I would still
> suspect a problem in there.
>
> To debug this I would try this:
>
>   ssh -t root@192.168.2.109 bash -ix
>
> That should run bash similarly to your login but will trace the shell
> statements as they run.  Hopefully at the very end you will see a clue
> as to why it is logging out.  You can save this to a file like this:
>
>   ssh -t root@192.168.2.109 bash -ix 2>&1 | tee login.trace.out

thanks for that.  Here is what I get:
,----
| + '[' -z '' ']'
| + return
| Connection to 192.168.2.109 closed.
`----
I guess that means, that "PS1" is unset in this case?

Regards,
Andreas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ip3e70ks....@med.uni-goettingen.de

Reply via email to