Help for this page

Select Code to Download


  1. or download this
    ssh myuser@myremotenode.com
    enter password here
    pbrun mygroup myremoteuser=ksh
    enter password here
    Access granted
    
  2. or download this
    use Net::SSH::Expect;
    
    ...
            print ($cmd1);
            my $cmd2 = $ssh->exec('whoami');
            print ($cmd2);