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