Use SSH_TTY to decide home or not.