|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SFTP File Output - The error is 'SSH Identity file does not |
« View previous topic :: View next topic » |
Author |
Message
|
firoj.badsa |
Posted: Mon Aug 08, 2011 5:31 am Post subject: SFTP File Output - The error is 'SSH Identity file does not |
|
|
 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 |
|
 |
marko.pitkanen |
Posted: Mon Aug 08, 2011 10:05 pm Post subject: |
|
|
 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 |
|
 |
firoj.badsa |
Posted: Mon Aug 08, 2011 10:47 pm Post subject: |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Tue Aug 09, 2011 4:48 am Post subject: |
|
|
 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 |
|
 |
firoj.badsa |
Posted: Fri Aug 19, 2011 7:31 pm Post subject: |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
It works! mqbrkrs had to be the owner of the identity file. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|