[转载] using ssh in tcsh script# Unix - 噫吁兮,危乎高哉
e*e
1 楼
【 以下文字转载自 Linux 讨论区 】
【 原文由 exihe 所发表 】
the file content:
**************************************
#! /bin/tcsh
ssh -T machinename <****************************************
when I execute, I got the following error
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
Can anyone tell me what is wrong? Thanks
ps. my default shell is tcsh
【 原文由 exihe 所发表 】
the file content:
**************************************
#! /bin/tcsh
ssh -T machinename <****************************************
when I execute, I got the following error
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
Can anyone tell me what is wrong? Thanks
ps. my default shell is tcsh