其他分享
首页 > 其他分享> > ssh无法登录,提示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登录主机时出现Pseudo-terminal will not be allocated because stdin is not a terminal. 错误

 
字面意思是伪终端将无法分配,因为标准输入不是终端。
 
所以需要增加-tt参数来强制伪终端分配,即使标准输入不是终端。
to force pseudo-tty allocation even if stdin isn't a terminal.
 
参考样例如下:
ssh -tt user1@host1 -p 9527

 

参考地址:https://blog.csdn.net/wyl9527/article/details/72770455

标签:will,because,stdin,terminal,ssh,allocated,终端
来源: https://www.cnblogs.com/silentmuh/p/11907139.html