Re: Running SecureFTP in background mode using perl expect

2012-07-15 Thread Ben Duncan
Now that's just scary . Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212 Never attribute to malice, that which can be adequately explained by stupidity - Hanlon's Razor Original Message Subject: Re: Running SecureFTP in background mode

Re: Running SecureFTP in background mode using perl expect

2012-07-15 Thread Mauro Souza
Network Solutions, Inc. 336 Elton Road Jackson MS, 39212 Never attribute to malice, that which can be adequately explained by stupidity - Hanlon's Razor Original Message Subject: Re: Running SecureFTP in background mode using perl expect From: Eddie Chen ec...@nyx.com

Re: Running SecureFTP in background mode using perl expect

2012-07-13 Thread Patrick Spinler
On 7/12/12 9:35 PM, Richard Troth wrote: Eddie -- You might have an easier time with SCP than SFTP. SCP uses SSH under the covers, Rich, I suspect you may be confusing sftp with ftps. sftp is in fact another ssh client, and also can do public/private key authentication just as ssh and scp.

Re: Running SecureFTP in background mode using perl expect

2012-07-13 Thread Richard Troth
I suspect you may be confusing sftp with ftps. sftp is in fact another ssh client, and also can do public/private key authentication just as ssh and scp. [sigh] Not the first time. The good news then is that use of SSH keys is all that much easier for Eddie's scenario. ftps is another

Re: Running SecureFTP in background mode using perl expect

2012-07-13 Thread Eddie Chen
. Did we had a great time at the VM workshop! -Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Richard Troth Sent: Friday, July 13, 2012 9:34 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Running SecureFTP in background mode using perl expect

Re: Running SecureFTP in background mode using perl expect

2012-07-13 Thread Hodge, Robert L
Subject: EXTERNAL: Running SecureFTP in background mode using perl expect Hi folks, I have a perl script that issue SecureFTP(sftp) to automate the file transfer and the password prompt. When the script runs in the foreground, it works, and it takes the password. Example

Re: Running SecureFTP in background mode using perl expect

2012-07-13 Thread Srivastava, Sagar
- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Richard Troth Sent: Friday, July 13, 2012 9:34 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Running SecureFTP in background mode using perl expect I suspect you may be confusing sftp with ftps. sftp is in fact another ssh client

Re: Running SecureFTP in background mode using perl expect

2012-07-13 Thread Eddie Chen
, Robert L Sent: Friday, July 13, 2012 10:25 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Running SecureFTP in background mode using perl expect Eddie, You may want to check out the lftp client. Lftp will accept FTP commands via a file, including the password. -Original Message- From: Linux

Running SecureFTP in background mode using perl expect

2012-07-12 Thread Eddie Chen
Hi folks, I have a perl script that issue SecureFTP(sftp) to automate the file transfer and the password prompt. When the script runs in the foreground, it works, and it takes the password. Example: [echen@startnet11 ~]$ ksh EDC.ksh Eddie.cmd

Re: Running SecureFTP in background mode using perl expect

2012-07-12 Thread Richard Troth
Eddie -- You might have an easier time with SCP than SFTP. SCP uses SSH under the covers, which in turn can use public/private keys instead of passwords. The pass phrase for the secret key is processed on the *client* side, so there is no need to convey it in the transaction. (And there are