"'Jose Malacara'" <[EMAIL PROTECTED]>; "'R. Joseph Newton'"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 01, 2003 9:59 AM
Subject: RE: Fw: Net::SCP::Expect
> Perhaps you should automate ssh logins by using a key th
Perhaps you should automate ssh logins by using a key that requires no
passphrase, in other words so you can just "ssh [EMAIL PROTECTED]" and
you're in with no interaction required. Then you don't need expect for
that.
Also, have you tried using the hostname IP address, just to see what
happens?
.
- Original Message -
From: "R. Joseph Newton" <[EMAIL PROTECTED]>
To: "Jose Malacara" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 01, 2003 7:49 AM
Subject: Re: Fw: Net::SCP::Expect
> Jose Malacara wrote:
>
> > Sor
all but the SCP example code and it still generates an error from the
> module. I verified my login, directory and filenames were correct by sending the
> file manually.
>
> I am running Perl v5.8.0, Expect-1.14, and Net-SCP-Expect-0.10
>
> use Net::SCP::Expect;
> my $host =
generates an error from the
module. I verified my login, directory and filenames were correct by sending the file
manually.
I am running Perl v5.8.0, Expect-1.14, and Net-SCP-Expect-0.10
#The Script
#!/usr/bin/perl -w
use strict;
use Net::SCP::Expect;
my $host = "host.whatever";
my $use
filenames were correct by sending the file
manually.
I am running Perl v5.8.0, Expect-1.14, and Net-SCP-Expect-0.10
===The script===
#!/usr/bin/perl -w
use strict;
use Net::SCP::Expect;
my $host = "host.whatever";
my $user = "josem";
my $pwd = "password";
m