Hi Vincent,
Vincent Lefevre <vinc...@vinc17.net> writes: > On 2013-04-24 00:24:16 +0200, Vincent Lefevre wrote: >> On 2013-04-23 23:05:27 +0200, Andreas Leha wrote: >> > Here is what I get: >> > ,---- >> > | > ssh -t root@192.168.2.109 bash >> > | Connection to 192.168.2.109 closed. >> > `---- >> >> So, it seems that the problem comes from the "-t". Perhaps it can't >> allocate a pseudo-tty? Looks like, I agree. How can I tackle this? >> >> BTW, does "ssh -t localhost" work on both machines? I am not sure. On the 'client' it does. On the 'server' I get this: ,---- | > ssh root@192.168.2.109 bash | ssh -t localhost | Pseudo-terminal will not be allocated because stdin is not a terminal. | Host key verification failed. `---- > > Things you can also try: > > ssh -t root@192.168.2.109 echo 'TERM: $TERM' > > and try from another terminal. Depending on the terminal I get: ,---- | > ssh -t root@192.168.2.109 echo 'TERM: $TERM' | TERM: screen | Connection to 192.168.2.109 closed. `---- ,---- | > ssh -t root@192.168.2.109 echo 'TERM: $TERM' | TERM: rxvt-unicode | Connection to 192.168.2.109 closed. `---- ,---- | > ssh -t root@192.168.2.109 echo 'TERM: $TERM' | TERM: linux | Connection to 192.168.2.109 closed. `---- > > Do you have anything special in your ".ssh/config"? I do have many entries for different machines in my .ssh/config. The one for this is: ,---- | Host pogo | HostName 192.168.2.109 | User root | IdentityFile /home/andreas/.ssh/id_rsa `---- The other entries look similar, thus, should not interfere, I think. Thanks for all your effort! 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/87ip3cy6hy....@med.uni-goettingen.de