Hi.
I am trying out your COZSFTP.
I have used interactive clients (which prompts me for password) to access the COZ sever successfully. But I have problems with the batch client using the password file.
I suspect it has to do with my password file but I cannot see what is wrong with it.
I keep the password in a PDS member with RECFM=FB, RECLEN=80 and when I edit it in ISPF it has the following profile specifications
=PROF> ....PDS (FIXED - 80)....RECOVERY OFF WARN....NUMBER OFF....
=PROF> ....CAPS OFF....HEX OFF....NULLS ON STD....TABS OFF........
=PROF> ....AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS ON.
=PROF> ....PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE ON...
=PROF> ....HILITE OFF CURSOR FIND.................................
The password starts in line 1, column 1 and is 7 characters long. Still when I run the batch job (like RUNSFTP - within same LPAR) it fails:
SYSLOGD:
BPXF024I (SYSLOGD) May 6 16:22:03 RB09 sshd 16973908 : Failed password for sshusr from ip port 1055 ssh2
BPXF024I (SYSLOGD) May 6 16:22:03 RB09 FSUM1221 syslogd: last message repeated 2 times
SYSOUT from the batch job says:
FOTS1346 Permission denied, please try again.
FOTS1346 Permission denied, please try again.
FOTS1373 Permission denied (publickey,password).
I have run this with the –vvv debug options and I see this repeated twice:
debug1: read_passphrase: can't open /dev/tty: EDC5128I No such device. (errno2=0x056201A9)
debug3: packet_send2: adding 64 (len 51 padlen 13 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug3: __catgets: NLS setup complete (1), using message catalog openssh.cat
FOTS1346 Permission denied, please try again.
Can you advice.
OpenSSH SSH_ASKPASS authentication
We have a section in our documentation that describes how to do this:
http://www.dovetail.com/docs/sftp/clien ... -batch_xmp
Have you compared your job (and specifically the setting and ordering of the options) to this example?
http://www.dovetail.com/docs/sftp/clien ... -batch_xmp
Have you compared your job (and specifically the setting and ordering of the options) to this example?