Pseudo-terminal will not be allocated because stdin is not a terminal 错误

    技术2022-07-10  200

    写登陆脚本ssh的时候加个参数

    ssh -t -t root@192.168.1.1 或者 ssh root@192.168.1.1 -tt

     

    Processed: 0.011, SQL: 9