Pseudo-terminal will not be allocated because stdin is not a terminal. channel 4: open failed: resource shortage: