ssh无法登录,登录主机时出现Pseudo-terminal will not be allocated because stdin is not a terminal.

问题原因:字面意思是伪终端将无法分配,因为标准输入不是终端。

解决办法:使用-t -t强制分配为伪终端,即使标准输入不是终端。

举例:ssh -t -t user1@host1 -p 9527


如果本文章为你解决问题提供了帮助,请不要吝啬为以后的分享热情添一把柴

你可能感兴趣的:(ssh无法登录,登录主机时出现Pseudo-terminal will not be allocated because stdin is not a terminal.)