ssh无法登录,提示Pseudo-terminal will not be allocated because stdin is not a terminal.

Pseudo-terminal will not be allocated because stdin occurs when a remote login via ssh host IS not A Terminal. Error

 
Literally it means the pseudo terminal can not be allocated because the standard input is not a terminal.
 
It is necessary to increase - TT pseudo terminal allocation parameter to force, even if the standard input is not a terminal.
to force pseudo-tty allocation even if stdin isn't a terminal.
 
Reference samples are as follows:
ssh -tt user1@host1 -p 9527

 

Guess you like

Origin www.cnblogs.com/silentmuh/p/11907139.html