Re: [REDHAT] Re: Scripting scp

2000-09-19 Thread Sam Bayne
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

Re: [REDHAT] Re: Scripting scp

2000-09-16 Thread David Kramer
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

Re: Scripting scp

2000-09-02 Thread Steven W. Orr
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

Re: Scripting scp

2000-09-02 Thread Gene Wilburn
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 /

Re: Scripting scp

2000-09-01 Thread Steven W. Orr
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

Re: Scripting scp

2000-09-01 Thread Eric Sisler
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

RE: Scripting scp

2000-09-01 Thread Anthony Lawson
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

Scripting scp

2000-09-01 Thread Gene Wilburn
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