Saturday, March 3, 2007

[ssh]: How to solve "Pseudo-terminal will not be allocated..."

in ssh manual: -T Disable pseudo-tty allocation. -t Force pseudo-tty allocation. This can be used to execute arbi- trary screen-based programs on a remote machine, which can be very useful, e.g., when implementing menu services. Multiple -t options force tty allocation, even if ssh has no local tty. So to ssh to nordicserver directly out of office, we can run: $ ssh -A box -t 'ssh nordicserver' I got this tip from http://terrencemiao.com/Webmail/msg00921.html For more ssh details, read ssh man page.

No comments: