$ssh->login('$user','$pass'); #### my($stdout, $stderr, $exit) = $ssh->cmd("/bin/ls -lrt");