fix ssh tty problem
fix ssh -> sudo tty problem