| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Vinay Kumar M Beginner
 
 
 Joined: 02 Jun 2015
 Posts: 12
 Topics: 6
 
 
 | 
			
				|  Posted: Mon Feb 22, 2016 6:41 am    Post subject: SFTP Issue |   |  
				| 
 |  
				| When we are submitting SFTP Job to send files from mainframe to UNIX system, We are struck with below error. Some one please help us what changes to be done so that files can be sent successfully.
 
 Even we have configured public keys at both Ends.
 
 Below is the error log we can see in STDERR of Job in Spool.
 
 
 
  	  | Code: |  	  | debug3: zsshGetpw: passwd name=XXXXX, uid=999999901, gid=1, dir=/export/home/H
 
 debug3: Not a RSA1 key file /export/home/HEATFTP/.ssh/id_rsa.
 
 debug2: key_type_from_name: unknown key type '-----BEGIN'
 
 debug3: key_read: missing keytype
 
 debug3: key_read: missing whitespace
 
 debug3: key_read: missing whitespace
 
 debug3: key_read: missing whitespace
 
 debug3: key_read: missing whitespace
 
 debug2: key_type_from_name: unknown key type '-----END'
 
 debug3: key_read: missing keytype
 
 debug1: identity file /export/home/HEATFTP/.ssh/id_rsa type 1
 
 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
 
 debug1: match: OpenSSH_5.3 pat OpenSSH*
 .
 .
 .
 .
 debug1: Offering public key: /export/home/HEATFTP/.ssh/id_rsa
 
 debug3: send_pubkey_test
 
 debug2: we sent a publickey packet, wait for reply
 
 debug1: Authentications that can continue: publickey,password,keyboard-interacti
 
 debug2: we did not send a packet, disable method
 
 debug1: No more authentication methods to try.
 
 debug3: __catgets: NLS setup complete (1), using message catalog openssh.cat
 
 FOTS1373 Permission denied (publickey,password,keyboard-interactive).
 
 [93.448] Connection closed
 
 
 
 
 | 
 
 From Their end if they try , in log they are getting connection closed error msg
 
 Please help us on this.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Mon Feb 22, 2016 2:25 pm    Post subject: |   |  
				| 
 |  
				| Vinay Kumar M, 
 The first thing you need to check is the RACF authority for your ID to  the access to the key rings and certificates. Make sure the ID you are trying to does have access.
 
 I also suggest that you read this Share Presentation of SFTP for the Mainframe for a better understanding of SFTP
 _________________
 Kolusu
 www.linkedin.com/in/kolusu
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Vinay Kumar M Beginner
 
 
 Joined: 02 Jun 2015
 Posts: 12
 Topics: 6
 
 
 | 
			
				|  Posted: Mon Feb 29, 2016 5:06 am    Post subject: |   |  
				| 
 |  
				| Hi Kolusu 
 Thanks for your response.
 
 Even we have cross verified the access. We are facing the same problem.
 
 Because previously we have configured  SFTP connection with other servers, They are still running fine without any issue.
 
 But we are facing this issue for this server we are trying to SFTP the file.
 
 Can it be any specific reason for getting above error. Please suggest.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Nic Clouston Advanced
 
 
 Joined: 01 Feb 2007
 Posts: 1075
 Topics: 7
 Location: At Home
 
 | 
			
				|  Posted: Mon Feb 29, 2016 5:54 am    Post subject: |   |  
				| 
 |  
				| I would suggest that something in the setup was not done correctly. Or you were given the wrong parameters to use. What do your networking (or whichever support) group say? _________________
 Utility and Program control cards are NOT, repeat NOT, JCL.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Mon Feb 29, 2016 10:17 am    Post subject: |   |  
				| 
 |  
				|  	  | Vinay Kumar M wrote: |  	  | Hi Kolusu 
 Thanks for your response.
 
 Even we have cross verified the access. We are facing the same problem.
 
 Because previously we have configured  SFTP connection with other servers, They are still running fine without any issue.
 
 But we are facing this issue for this server we are trying to SFTP the file.
 
 Can it be any specific reason for getting above error. Please suggest.
 | 
 
 Vinay Kumar M,
 
 Check if you have a file hosts.allow and you need to add the SFTP process to be in there.
 _________________
 Kolusu
 www.linkedin.com/in/kolusu
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |