Fix ssh TERM variable on remote servers