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。
脚本中运行ssh时,出现Pseudo-terminal will not be allocated because stdin is not a terminal,但不影响执行。
解决方法:
ssh后添加参数 -Tq。