in reply to Set a variable to remote information
First, your "use" is capitalized. That won't work.
A quick look at the docs for Net::SSH suggests you probably need to use sshopen2() or sshopen3() rather than issh().
If this is all you are doing though, you might get by with something much more simple like:
my $dig_output = `ssh $user\@$host $cmd`;
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Set a variable to remote information
by needhelp (Initiate) on Jul 02, 2003 at 16:01 UTC | |
by sauoq (Abbot) on Jul 02, 2003 at 16:11 UTC | |