Hello Jack, thanks for reply.

John, can you please help in answering query raised by back on the JCL you
provided for this sftp.

On Dec 7, 2016 10:42, "Jack J. Woehr" <[email protected]> wrote:

> venkat kulkarni wrote:
>
>> Yes but if you look at Job output and it's tries to authenticate using
>> public key , password , interactive but all failing. I sent you job out in
>> earlier response.
>>
>
> That's always the way an ssh connection is established (unless you use
> args to prevent it).
>
> ssh and scp and sftp ... they're all almost the same program
>
> They will try key negotiation first, then finally password. The failures
> in key negotiation you are seeing are not really errors.
>
> The error is here:
>
> debug1: read_passphrase: can't open /dev/tty: EDC5128I No such device.
> (errno2=0
>
> debug1: Authentications that can continue:
> publickey,password,keyboard-interacti
>
> FOTS1346 Permission denied, please try
> again.
>
> debug1: read_passphrase: can't open /dev/tty: EDC5128I No such device.
> (errno2=0
>
> debug1: Authentications that can continue:
> publickey,password,keyboard-interacti
>
> FOTS1346 Permission denied, please try
> again.
>
> debug1: read_passphrase: can't open /dev/tty: EDC5128I No such device.
> (errno2=0
>
>
> SFTP is trying three (3) times to open the tty device to read a password.
> It's not succeeding.
>
> I don't understand how z/OS SFTP and the JCL you have been given are
> supposed to interact, but it's not working.
>
> This part of the JCL:
>
> OSHELL { echo 'password'; +
>          echo 'cd /tmp'; +
>          echo 'ascii'; +
>          echo 'put/tmp/SOME.FILE.NAME <http://some.file.name/>'; } | +
>        sftp [email protected]
>
> Is not successfully putting the password to the server.
>
>
>
> --
> Jack J. Woehr     # Science is more than a body of knowledge. It's a way of
> www.well.com/~jax # thinking, a way of skeptically interrogating the
> universe
> www.softwoehr.com # with a fine understanding of human fallibility. -
> Carl Sagan
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to