MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SFTP Issue

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Vinay Kumar M
Beginner


Joined: 02 Jun 2015
Posts: 12
Topics: 6

PostPosted: Mon Feb 22, 2016 6:41 am    Post subject: SFTP Issue Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Mon Feb 22, 2016 2:25 pm    Post subject: Reply with quote

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 - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vinay Kumar M
Beginner


Joined: 02 Jun 2015
Posts: 12
Topics: 6

PostPosted: Mon Feb 29, 2016 5:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Mon Feb 29, 2016 5:54 am    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Mon Feb 29, 2016 10:17 am    Post subject: Reply with quote

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 - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group