> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Mark Post
> Sent: Friday, July 17, 2009 10:37 AM
> To: [email protected]
> Subject: Re: z/OS Mainframe - SFTP - Disable Publickey 
> Authentication and only use Password?
> 
> >>> On 7/16/2009 at  4:32 PM, Leonard Sasso <[email protected]> wrote: 
> -snip-
> > Do you know how to Disable Publickey Authentication using 
> the command line 
> > options?
> 
> That's not your problem.  Having publickey auth available 
> doesn't interfere with using passwords.  As someone else 
> noted a day or two ago, your problem is that password 
> authentication cannot be done in batch, only in interactive 
> mode.  The man page for sftp confirms this.  If you want to 
> run in batch, you _must_ use publickey authentication.
> 
> 
> Mark Post

And doesn't this require that you not have a passphrase? I have used Co:Z in 
the past to schedule work on my Linux box via SSH from a batch job. But I had 
to create a keyfile with no passphrase on it.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to