Added better logging for ssh.