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