PageRenderTime 584ms CodeModel.GetById 70ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 510ms

/scripts/tests/net-ssh-perl_demo.pl

https://code.google.com/p/camelbox/
Perl | 7 lines | 4 code | 3 blank | 0 comment | 0 complexity | 1e2e09a96ee1d8b14fb8b7ce5b6aef22 MD5 | raw file
1
2
3use Net::SSH::Perl;
4my $ssh = Net::SSH::Perl->new($host);
5$ssh->login($user, $pass);
6my($stdout, $stderr, $exit) = $ssh->cmd($cmd);
7