modified ssh.pm