Pseudo-terminal will not be allocated because stdin is not a terminal.
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Pseudo-terminal will not be allocated because stdin is not a terminal.相关的知识,希望对你有一定的参考价值。
打算在shell里写脚本调用ssh,突然来个报错:
Pseudo-terminal will not be allocated because stdin is not a terminal.
中文解释:伪终端不会分配因为stdin不是终端。
查看ssh命令帮助得以解决:
-q Quiet mode. Causes most warning and diagnostic messages to be suppressed.
-T Disable pseudo-tty allocation.
然后ssh -Tq 用户@主机 -p 端口 即可。
本文出自 “永不放弃! 任志远” 博客,请务必保留此出处http://renzhiyuan.blog.51cto.com/10433137/1880329
以上是关于Pseudo-terminal will not be allocated because stdin is not a terminal.的主要内容,如果未能解决你的问题,请参考以下文章
ssh登录失败,报错:Pseudo-terminal will not be allocated because stdin
GradleWeb Facets/Artifacts will not be configured properly
Could not find the main class.Program will exit.
Flutter run -d all will not start chrome
编译内核提示mkimage command not found – U-Boot images will not be built
Java Error: Failed to validate certificate. The application will not be executed