Hi Bob, Bob Proulx <[email protected]> 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 [email protected] 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 [email protected] 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 [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

