Hi all,
I am currently using Net::SSH::Perl module to login in my remote machine.
Below is my code:
==
#!/usr/bin/perl
use Net::SSH::Perl;
$user="jaws";
$pass="password";
$host="111.222.333.444";
my $ssh = Net::SSH::Perl->new(
h->disconnect;
but i got this error:
Undefined subroutine &main::PASSWORD called at ./adduser.pl line 30,
line 4.
Any suggestions?
---
cheers,
jaws
If there's one thing you need to remember it's this...
ALL SYSTEMS ARE VULNERABLE!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Ill try that.
At 09:26 AM 3/28/2003 +, Rob Anderson wrote:
Jaws,
This looks like your script is working fine, but the insert your trying to
do is in error. I'd guess that your just trying to add a row with a
duplicate key, and that's what DBI is complaining about, be
What will I do to get my script working properly?
Thanks for your help.
At 04:17 AM 3/28/2003 -0500, Dave K wrote:
Jaws,
> DBD::mysql::st execute failed: Duplicate entry 'sample' for key 1 at
> ./addvpdnuser.pl line 17, <> line 1.
> DBD::mysql::st execute failed: Dup
te entry 'sample' for key 1 at
./addvpdnuser.pl line 17, <> line 1.
[EMAIL PROTECTED] util]#
That's the error message of the program.
At 08:54 AM 3/28/2003 +, Rob Anderson wrote:
Hi Jaws (!?),
You don't say where your script is failing, or what errors it'
tr;
}
$dbh->commit or die $dbh->errstr;
$dbh->disconnect;
--
Thanks.
Jaws
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]