Hi Vincent, thanks for staying on this!
Vincent Lefevre <vinc...@vinc17.net> writes: > On 2013-04-24 05:03:53 +0200, Andreas Leha wrote: >> Vincent Lefevre <vinc...@vinc17.net> writes: >> >> 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. >> `---- > > That's normal if you don't have a tty in the first place. > Don't you have some kind of console? I am not sure I understand that question. > > BTW, what does the following say? > > $ ssh -t root@192.168.2.109 ls -l /dev/tty\* I get a long list: ,---- | crw-rw-rw- 1 root root 5, 0 Jan 1 1970 /dev/tty | crw------- 1 root root 4, 0 Jan 1 1970 /dev/tty0 | crw------- 1 root root 4, 1 Jan 1 1970 /dev/tty1 | crw------- 1 root root 4, 10 Jan 1 1970 /dev/tty10 | crw------- 1 root root 4, 11 Jan 1 1970 /dev/tty11 | crw------- 1 root root 4, 12 Jan 1 1970 /dev/tty12 | crw------- 1 root root 4, 13 Jan 1 1970 /dev/tty13 | crw------- 1 root root 4, 14 Jan 1 1970 /dev/tty14 | crw------- 1 root root 4, 15 Jan 1 1970 /dev/tty15 | crw------- 1 root root 4, 16 Jan 1 1970 /dev/tty16 | crw------- 1 root root 4, 17 Jan 1 1970 /dev/tty17 | crw------- 1 root root 4, 18 Jan 1 1970 /dev/tty18 | crw------- 1 root root 4, 19 Jan 1 1970 /dev/tty19 | crw------- 1 root root 4, 2 Jan 1 1970 /dev/tty2 | crw------- 1 root root 4, 20 Jan 1 1970 /dev/tty20 | crw------- 1 root root 4, 21 Jan 1 1970 /dev/tty21 | crw------- 1 root root 4, 22 Jan 1 1970 /dev/tty22 | crw------- 1 root root 4, 23 Jan 1 1970 /dev/tty23 | crw------- 1 root root 4, 24 Jan 1 1970 /dev/tty24 | crw------- 1 root root 4, 25 Jan 1 1970 /dev/tty25 | crw------- 1 root root 4, 26 Jan 1 1970 /dev/tty26 | crw------- 1 root root 4, 27 Jan 1 1970 /dev/tty27 | crw------- 1 root root 4, 28 Jan 1 1970 /dev/tty28 | crw------- 1 root root 4, 29 Jan 1 1970 /dev/tty29 | crw------- 1 root root 4, 3 Jan 1 1970 /dev/tty3 | crw------- 1 root root 4, 30 Jan 1 1970 /dev/tty30 | crw------- 1 root root 4, 31 Jan 1 1970 /dev/tty31 | crw------- 1 root root 4, 32 Jan 1 1970 /dev/tty32 | crw------- 1 root root 4, 33 Jan 1 1970 /dev/tty33 | crw------- 1 root root 4, 34 Jan 1 1970 /dev/tty34 | crw------- 1 root root 4, 35 Jan 1 1970 /dev/tty35 | crw------- 1 root root 4, 36 Jan 1 1970 /dev/tty36 | crw------- 1 root root 4, 37 Jan 1 1970 /dev/tty37 | crw------- 1 root root 4, 38 Jan 1 1970 /dev/tty38 | crw------- 1 root root 4, 39 Jan 1 1970 /dev/tty39 | crw------- 1 root root 4, 4 Jan 1 1970 /dev/tty4 | crw------- 1 root root 4, 40 Jan 1 1970 /dev/tty40 | crw------- 1 root root 4, 41 Jan 1 1970 /dev/tty41 | crw------- 1 root root 4, 42 Jan 1 1970 /dev/tty42 | crw------- 1 root root 4, 43 Jan 1 1970 /dev/tty43 | crw------- 1 root root 4, 44 Jan 1 1970 /dev/tty44 | crw------- 1 root root 4, 45 Jan 1 1970 /dev/tty45 | crw------- 1 root root 4, 46 Jan 1 1970 /dev/tty46 | crw------- 1 root root 4, 47 Jan 1 1970 /dev/tty47 | crw------- 1 root root 4, 48 Jan 1 1970 /dev/tty48 | crw------- 1 root root 4, 49 Jan 1 1970 /dev/tty49 | crw------- 1 root root 4, 5 Jan 1 1970 /dev/tty5 | crw------- 1 root root 4, 50 Jan 1 1970 /dev/tty50 | crw------- 1 root root 4, 51 Jan 1 1970 /dev/tty51 | crw------- 1 root root 4, 52 Jan 1 1970 /dev/tty52 | crw------- 1 root root 4, 53 Jan 1 1970 /dev/tty53 | crw------- 1 root root 4, 54 Jan 1 1970 /dev/tty54 | crw------- 1 root root 4, 55 Jan 1 1970 /dev/tty55 | crw------- 1 root root 4, 56 Jan 1 1970 /dev/tty56 | crw------- 1 root root 4, 57 Jan 1 1970 /dev/tty57 | crw------- 1 root root 4, 58 Jan 1 1970 /dev/tty58 | crw------- 1 root root 4, 59 Jan 1 1970 /dev/tty59 | crw------- 1 root root 4, 6 Jan 1 1970 /dev/tty6 | crw------- 1 root root 4, 60 Jan 1 1970 /dev/tty60 | crw------- 1 root root 4, 61 Jan 1 1970 /dev/tty61 | crw------- 1 root root 4, 62 Jan 1 1970 /dev/tty62 | crw------- 1 root root 4, 63 Jan 1 1970 /dev/tty63 | crw------- 1 root root 4, 7 Jan 1 1970 /dev/tty7 | crw------- 1 root root 4, 8 Jan 1 1970 /dev/tty8 | crw------- 1 root root 4, 9 Jan 1 1970 /dev/tty9 | crw------- 1 root root 4, 64 Jan 1 1970 /dev/ttyS0 | crw-rw---- 1 root dialout 4, 65 Jan 1 1970 /dev/ttyS1 | Connection to 192.168.2.109 closed. `---- > $ ssh -t root@192.168.2.109 ls -l /dev/pts Here, I get ,---- | total 0 | crw--w---- 1 root tty 136, 0 Apr 24 21:19 0 | c--------- 1 root root 5, 2 Jan 1 1970 ptmx | Connection to 192.168.2.109 closed. `---- > > You can also try whether telnet over SSH works... Or just simple > telnet if the local network is secure. If this works, you can try > again "ssh -t localhost" (or just "ssh localhost", since -t is > implied without a command) from there. I get the same problem using telnet: ,---- | > telnet 192.168.2.109 | Trying 192.168.2.109... | Connected to 192.168.2.109. | Escape character is '^]'. | Debian GNU/Linux 6.0 | debian login: andreas | Password: | Last login: Wed Apr 24 21:35:35 UTC 2013 from 192.168.2.101 on pts/0 | Linux debian 2.6.32-5-kirkwood #1 Sun May 6 16:57:51 UTC 2012 armv5tel | | The programs included with the Debian GNU/Linux system are free software; | the exact distribution terms for each program are described in the | individual files in /usr/share/doc/*/copyright. | | Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | permitted by applicable law. | Connection closed by foreign host. `---- 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/8738ufy5hd....@med.uni-goettingen.de