ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SFTP File Output - The error is 'SSH Identity file does not

Post new topic  Reply to topic
 SFTP File Output - The error is 'SSH Identity file does not « View previous topic :: View next topic » 
Author Message
firoj.badsa
PostPosted: Mon Aug 08, 2011 5:31 am    Post subject: SFTP File Output - The error is 'SSH Identity file does not Reply with quote

Centurion

Joined: 16 Feb 2007
Posts: 104

Hi All,

I am doing SFTP to a remote server using private-public key. There is no password for this transaction. Though I have set up the credentials

mqsisetdbparms BRK -n sftp::secId -u username -i /home/badsa/.ssh/sftp_test

I have created the configurableservice as well.
Still I am getting the below error.

The error is 'SSH Identity file does not exist'.

I have created the keys using the below command.

ssh -keygen -t rsa

And I am able to login using SFTP through command

sftp -i private_key user1@servername

Thanks in advance for help.

Regards,
Firoj
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Mon Aug 08, 2011 10:05 pm    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

Does account running the broker have permissions to access the identity file?


--
Marko
Back to top
View user's profile Send private message Visit poster's website
firoj.badsa
PostPosted: Mon Aug 08, 2011 10:47 pm    Post subject: Reply with quote

Centurion

Joined: 16 Feb 2007
Posts: 104

Hi Marko,

Thanks for your reply. yes, it has. Actally this user is a member of mqm/mqbrkrs group and I use this userid to stop start broker.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Aug 09, 2011 4:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

firoj.badsa wrote:
Hi Marko,

Thanks for your reply. yes, it has. Actally this user is a member of mqm/mqbrkrs group and I use this userid to stop start broker.


You should not use a user ID that is simply a member of the mqm/mqbrkrs group to start the Broker. You should be starting the Broker after your user has sudo'd into the mqbrkrs Id.

The problem, on Linux at least, is if user A starts Broker and user B tries to perform any sys admin functions on Broker, including mqsistop, User B will not be able to, even if both User A and User B are members of mqm/mqbrkrs.

The mqbrkrs user should have primary group membership in mqbrkrs group not mqm.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
firoj.badsa
PostPosted: Fri Aug 19, 2011 7:31 pm    Post subject: Reply with quote

Centurion

Joined: 16 Feb 2007
Posts: 104

It works! mqbrkrs had to be the owner of the identity file.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SFTP File Output - The error is 'SSH Identity file does not
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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.