check if $SSH_CONNECTION is set before calling exec tmux or starting ssh-agent