2008年8月26日火曜日

多段 SSH

自分的メモ
多段 ssh したい場合には、
$ ssh -t HOST_A "ssh HOST_B"

-t オプションをつけないと、以下のようなエラーが出る。
Pseudo-terminal will not be allocated because stdin is not a terminal.
stty: standard input: Invalid argument
stty: standard input: Invalid argument

0 件のコメント: