The 「stdin: is not a tty」 warning kept on popping up when ssh-ing to a few servers. I’ve learned that the problem is because I had mesg n on top of my .bash_rc file. Quick fix is to wrap it around an if statement, like so:shell
if `tty -s`; then mesg n fi
Or replace mesg n with:bash
tty -s && mesg n