modified sshsafe