use Net::OpenSSH; my $ssh = Net::OpenSSH->new($host, user => $user, password => $passwor +d); $ssh->system({tty => 1}, 'sudo -s');
In reply to Re: Interactive SSH and sudo -s
by salva
in thread Interactive SSH and sudo -s
by cstrong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |