Adjusting TERM logic for ssh
Release 0.26.0