change in detection of remote connection for ssh-agent