Modified ssh.pm module

Added functionality to pass expect object