Hi,
On Mon, Apr 22, 2013 at 5:49 PM, Andreas Leha
<andreas.leha@med.uni-goettingen.de> wrote:
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?
Looks like it, but I think that it shouldn't terminate bash anyway.
The 'return' you see is local to .bashrc or whatever file was being
loaded.
Try running 'ssh root@192.168.2.109 bash --norc --noprofile -i' and
see if you get a shell. If you do, it would suggest some
misconfiguration of bash but from what I can see your configs are OK..
(For some reason, the '-i' arg can't be before the long args, or
you'll get a bash invocation error)
Hope to help,
Guido