Pseudo-terminal will not be allocated because stdin is not a terminal.

脚本中运行ssh时,出现Pseudo-terminal will not be allocated because stdin is not a terminal,但不影响执行。

解决方法:

    ssh后添加参数 -Tq。

posted @ 2019-12-18 14:32  必慎  阅读(5273)  评论(0)    收藏  举报