FOTS1373 Permission denied (publickey,keyboard-interactive).

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
Archana
Posts: 9
Joined: Thu Dec 11, 2014 12:47 am

FOTS1373 Permission denied (publickey,keyboard-interactive).

Post by Archana »

Dear all,

I am new to Co:Z hybrid batch processing.

As an initial step I am able to connect linux from z/OS and vice versa without password, ie with public key, using command ssh <username> -v.

//OWNER123 JOB 2612,'COZ',NOTIFY=&SYSUID
//MYLIB JCLLIB ORDER='COZUSER.COZ.SAMPJCL'
//STEP1 EXEC PROC=COZPROC,ARGS='user@LINUX'
//STDIN DD *
#This is input to remote shell
echo "We are running on:" 'uname -sr'
lsdasd
//


We tried to submit the above JCL and we got the following error.

CoZLauncherÝN¨: version: 2.4.5 2014-05-29
CoZLauncherÝN¨: Copyright (C) Dovetailed Technologies, LLC. 2006-2013. All rights reserved
FOTS1373 Permission denied (publickey,keyboard-interactive).

CoZLauncherÝE¨: CoZAgent process (516) ended with RC=255
CoZLauncherÝE¨: CoZAgent process (516) ended, but no cozagent completion was recorded.
CoZLauncherÝE¨: CoZLauncher ended with RC=102

I am getting this error though I am able to connect linux and omvs.

Kindly help me to solve this issue.
coz
Posts: 391
Joined: Fri Jul 30, 2004 5:29 pm

Re: FOTS1373 Permission denied (publickey,keyboard-interacti

Post by coz »

The default authentication mechanism for the Co:Z Launcher is a standard ssh public/private keypair, which you don't have properly set up, based on the the error you are getting. See this section of the user's guide for advice on how to authenticate:

http://dovetail.com/docs/coz/auth.html

The best approach is to get a non-interactive method (public/private keypair or digital certificate) working from the Unix System Services command line before trying to run the batch job. Or, if you want to use a password, you can do this via the SSH_ASKPASS approach described in the above documentation.
Post Reply