How to fix Pseudo-terminal will not be allocated because stdin is not a terminal. in SSH | DevErrors