Server Management - Systems Insight Manager
1753737
Members
4353
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2010 07:25 PM
тАО11-23-2010 07:25 PM
SSH Keys
We are still using HPSIM V5.3 on Windows but have a large number of Linux managed systems. To run tasks on the managed systems we cannot use root but must use an ordinary account which does have sudo access.
To make things easier I created a ssh RSA key pair (null passphrase) and propagated this to the linux host for the user in the audthorized_keys file. On the CMS I can simply type ssh user@target and it just logs in as expected. But if I then try to run a task it will work if I supply credentials i.e. the password for the user on the target but if I get rid of that all I get is SSH public key authentication failed for user ???? Then please run mxagentconfig -a.
Does this mean that SIM will not support using key authentication or will this only be done if mxagentconfig is run? mxagentconfig tries to alter sshd_config which requires some major CM effort.
I assumed that I could just put the keys in the target user .ssh file and SIM would either just use it or you could tell SIM to use key authentication without going though a reconfig of SSH or am I missing something here?
To make things easier I created a ssh RSA key pair (null passphrase) and propagated this to the linux host for the user in the audthorized_keys file. On the CMS I can simply type ssh user@target and it just logs in as expected. But if I then try to run a task it will work if I supply credentials i.e. the password for the user on the target but if I get rid of that all I get is SSH public key authentication failed for user ???? Then please run mxagentconfig -a.
Does this mean that SIM will not support using key authentication or will this only be done if mxagentconfig is run? mxagentconfig tries to alter sshd_config which requires some major CM effort.
I assumed that I could just put the keys in the target user .ssh file and SIM would either just use it or you could tell SIM to use key authentication without going though a reconfig of SSH or am I missing something here?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2010 08:26 PM
тАО11-23-2010 08:26 PM
Re: SSH Keys
Well I answered my own question.
It seems that for whatever reason ssh uses RSA keys for interactive login but the task manager uses DSA keys. So for both to work you need both in the managed hosts authorized_keys file. I did that and everything works as it should.
This does not seem very consistent but it works.
It seems that for whatever reason ssh uses RSA keys for interactive login but the task manager uses DSA keys. So for both to work you need both in the managed hosts authorized_keys file. I did that and everything works as it should.
This does not seem very consistent but it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2010 08:27 PM
тАО11-23-2010 08:27 PM
Re: SSH Keys
Use DSA keys for tasks and RSA keys for interactive SSH.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP