UM, one poster had the simple answer, which is to change the way ssh authenticates.
You can either set up a passwordless RSA authentication key, or you can use .shosts.
Unlike with the r-utils(rsh,rlogin,rcp) the s-utils(ssh,slogin,scp) check the host
keys to at least verify that the two hosts
On Sat, 2 Sep 2000, Gene Wilburn wrote:
> On Fri, 1 Sep 2000, Steven W. Orr wrote:
>
> > You need to write your script to run scp in the expect scripting
> > language. Expect is an extention of tcl. Easy to use and easy learn. Your
> > problem is that the request for the password is not supposed
Sorry. I didn't understand. You could install something like
perl-Expect.pm-1.07-2
Does this help?
--
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Bla
On Fri, 1 Sep 2000, Steven W. Orr wrote:
> You need to write your script to run scp in the expect scripting
> language. Expect is an extention of tcl. Easy to use and easy learn. Your
> problem is that the request for the password is not supposed to come from
> stdin; it's supposed to come from /
You need to write your script to run scp in the expect scripting
language. Expect is an extention of tcl. Easy to use and easy learn. Your
problem is that the request for the password is not supposed to come from
stdin; it's supposed to come from /dev/console. Expect starts child
processes which h
Gene Wilburn <[EMAIL PROTECTED]> wrote:
>I'm trying to replace an existing Perl script that does auto-FTP with scp
>(ssh1) instead. The script fetches log files from our ISP and we would
>like to close the FTP port entirely.
>
>The problem I'm having is the absence of a password option to feed
>s
orporation 206.905.5028
[EMAIL PROTECTED]
-Original Message-
From: Gene Wilburn [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 01, 2000 12:29 PM
To: Redhat Mailing List
Subject: Scripting scp
I'm trying to replace an existing Perl script that does auto-FTP with scp
(ssh1) instead. The scr
I'm trying to replace an existing Perl script that does auto-FTP with scp
(ssh1) instead. The script fetches log files from our ISP and we would
like to close the FTP port entirely.
The problem I'm having is the absence of a password option to feed
scp. I've got past this by having Perl write an