We just configured and started two OpenSSH servers on different hosts.  I have 
been able to logon to both SHH servers using PuTTY, we can initiate sftp from 
the PuTTY session and it works okay to transfer files.  We are now trying to 
get SFTP to work from a batch job but it fails with RC=255 HOST Verification 
failed.  For now we are trying to use logon userid and password to authenticate 
the user but I don't think we are getting to that point before the job fails.  
The errors I see are FOTS1370 Host key verification failed.. FOTS0841 
Connection closed.

With -vvv in the job I see the following (this is not the complete error 
file)...
debug1: mac_setup_by_id: hmac-sha1 from source ICSF.                     
debug2: mac_setup: found hmac-sha1.                                      
debug1: kex: server->client aes256-cbc hmac-sha1 none.                   
debug1: mac_setup_by_id: hmac-sha1 from source ICSF.                     
debug2: mac_setup: found hmac-sha1.                                      
debug1: kex: client->server aes256-cbc hmac-sha1 none.                   
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<4096<8192) sent.                
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP.                             
debug2: dh_gen_key: priv key bits set: 239/512.                          
debug2: bits set: 2054/4095.                                             
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent.                                   
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY.                             
debug3: check_host_in_hostfile: filename /u/umo4950/.ssh/known_hosts.    
debug3: check_host_in_hostfile: filename /etc/ssh/ssh_known_hosts.       
debug3: check_host_in_hostfile: filename /u/umo4950/.ssh/known_hosts.    
debug3: check_host_in_hostfile: filename /etc/ssh/ssh_known_hosts.       
debug3: check_host_in_hostfile: filename /u/umo4950/.ssh/known_hosts.    
debug3: check_host_in_hostfile: filename /etc/ssh/ssh_known_hosts.       
debug2: no key of type 0 for host mxj.csd.disa.mil.                      
debug3: check_host_in_hostfile: filename /u/umo4950/.ssh/known_hosts2.   
debug3: check_host_in_hostfile: filename /etc/ssh/ssh_known_hosts2.           
debug3: check_host_in_hostfile: filename /u/umo4950/.ssh/known_hosts.         
debug3: check_host_in_hostfile: filename /etc/ssh/ssh_known_hosts.            
debug2: no key of type 2 for host mxj.csd.disa.mil.                           
debug3: __catgets: NLS setup complete (1), using message catalog openssh.cat. 
FOTS1370 Host key verification failed..                                       
debug1: zsshSmfSetConnSmfStatus: SMF status is 0.                             
debug3: zsshSmfWritePipe: Not collecting SMF data.  status=0 .                
debug3: __catgets: NLS setup complete (1), using message catalog openssh.cat. 
FOTS0841 Connection closed.                                                   


We are running z/OS V1R13 on both systems.

Thanks for your help.
  

Norma Mowry 

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

Reply via email to