COZBATCH askpass

A discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
Posts: 3
Joined: Thu Apr 07, 2011 10:00 am

COZBATCH askpass

Post by morph797 » Tue Dec 11, 2018 1:47 pm

I am on z/os v2.2 and I am trying to connect to a server using SSH.

This is the STDIN:

cozsftp $ssh_opts -vvv -b- $remoteuser@$server <<EOB
lzopts mode=text

The customer says we must use ID & Password. I have read the askpass info but I am not sure
how to set it up. What needs to be updated and is this askpass provided or is it something that needs to be written.
What OMVS/USS files need to be updated and what other changes need to be done for STDIN ?

Thank You

Site Admin
Posts: 1983
Joined: Thu Jul 29, 2004 12:12 pm

Re: COZBATCH askpass

Post by dovetail » Tue Dec 18, 2018 8:57 am

Please refer to:

The sample JCL and scripts here show how to use passwords with Co:Z SFTP

Post Reply