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
Reference Address:
https://blog.csdn.net/wyl9527/article/details/72770455