raghu_shekar has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use Net::SSH::Perl; my $host = "hostname"; my $usr = "my userid"; my $pwd = "my password"; my $ssh = Net::SSH::Perl->new($host); $ssh->login($usr,$pwd); my($stdout, $stderr, $exit) = $ssh->cmd("ls -l /home/$usr");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SSH using a perl script
by Anonymous Monk on Mar 17, 2010 at 06:21 UTC | |
|