- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Making progress, but OpenSSH still won't work.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
10-29-2004 04:45 AM
10-29-2004 04:45 AM
I've done the 2003 workaround and I'm finally able to do an "mxagentconfig", but it only works if I use either "localhost" or 127.0.0.1 as the Hostname. If I use the external address, the hostname or the DNS name of the server it fails every time with "Failed to establish connection to [hostname]". I'm running this from the CMS.
From SIM, I no longer get the authentication errors, I now get:
EXCEPTION CLASS: com.hp.mx.dtf.sshClient.MxSshFailedConnectionException
EXCEPTION: Unable to contact the SSH server on node "host.domain.com".
Can someone please point me in the right direction? I'm growing extermely tired of this process - at this point there's no way I could duplicate the install on another box if I had to. (sorry for the venting...)
Maybe there's a security policy that's causing these problems for me? I'd greatly appreciate any help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2004 10:17 PM
10-29-2004 10:17 PM
Re: Making progress, but OpenSSH still won't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 01:08 AM
11-01-2004 01:08 AM
Re: Making progress, but OpenSSH still won't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 01:35 AM
11-01-2004 01:35 AM
Re: Making progress, but OpenSSH still won't work.
mkpasswd -l -u *admin* > c:\progra~1\openssh\etc\passwd
For now I'm trying to use the CMS as the target just to get SOMETHING working. From the console on the CMS when I use mxagentconfig, I can connect as long as I use 127.0.0.1 or localhost. When I use the CMS's external IP address or hostname, still from the CMS console, mxagentconfig fails.
I don't believe this is an ID/password issue, it's more like a security setting that's too tight not allowing me to go to the network redirector and back.
Thanks for the help so far and any more you can provide is greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 01:39 AM
11-01-2004 01:39 AM
Re: Making progress, but OpenSSH still won't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 02:56 AM
11-01-2004 02:56 AM
Re: Making progress, but OpenSSH still won't work.
Let me just restate that I am able to successfully use mxagentconfig to login when i use the loopback address, but the real IP of the CMS does not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:09 AM
11-01-2004 04:09 AM
Re: Making progress, but OpenSSH still won't work.
If this is the case, are you giving MXAGENTCONFIG the *administrator* or *admin* credentials? And what are the contents of the C:\program files\openssh\etc\passwd file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:17 AM
11-01-2004 04:17 AM
Re: Making progress, but OpenSSH still won't work.
If this is the case, are you giving MXAGENTCONFIG the *administrator* or *admin* credentials? And what are the contents of the C:\program files\openssh\etc\passwd file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:18 AM
11-01-2004 04:18 AM
Re: Making progress, but OpenSSH still won't work.
If this is the case, are you giving MXAGENTCONFIG the *administrator* or *admin* credentials? And what are the contents of the C:\program files\openssh\etc\passwd file?
I am running mxagentconfig from the CMS trying to connect to the CMS. It works if I use the loopback, but not if I use the CMS IP address - both should point to the same place. Very wierd problem, like I said I think it might point to more of a security policy issue, but I don't even know where to start in that area.
I've added three id's to the passwd file using the command:
mkpasswd -l -u [id] > c:\progra~1\openssh\etc\passwd
I can login using all of them as long as I use that loopback address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:23 AM
11-01-2004 04:23 AM
Re: Making progress, but OpenSSH still won't work.
I've never bothered to look at which addresses I could connect to on the CMS, so I won't be of much help. If you have trouble connecting to other boxes, then I may be of assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:29 AM
11-01-2004 04:29 AM
Re: Making progress, but OpenSSH still won't work.
The reason for all of this is that the CMS uses the DNS name which resolves to the external IP when it tries to connect to OpenSSH. If I could somehow make it use the 127.0.0.1 address then it would be a non-issue, although I doubt that would work anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:31 AM
11-01-2004 04:31 AM
Re: Making progress, but OpenSSH still won't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:45 AM
11-01-2004 04:45 AM
Re: Making progress, but OpenSSH still won't work.
EXCEPTION CLASS: com.hp.mx.dtf.sshClient.MxSshFailedConnectionException
EXCEPTION: Unable to contact the SSH server on node "host.domain.com".
Thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 04:53 AM
11-01-2004 04:53 AM
Re: Making progress, but OpenSSH still won't work.
This is the deal...the C:\program files\openssh\etc\passwd file has an entry that points to the "home" directory of the user who installed OpenSSH. Let's assume that account was the local "administrator". The passwd file would have /home/administrator in it. The "/home" part equates to the base folder of that user's profile - in this case, C:\documents and Settings\Administrator.
So...what account did you install openssh with, what is the profile path for that user (type SET and look at the USERPROFILE variable), what are the contents of the passwd file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 05:09 AM
11-01-2004 05:09 AM
Re: Making progress, but OpenSSH still won't work.
boxster:unused_by_nt/2000/xp:1003:513:boxster,U-EITINFRA02\boxster,S-1-5-21-3935383152-2057740328-1672152018-1003:/home/boxster:/bin/switch
lightning:unused_by_nt/2000/xp:1008:513:lightning,U-EITINFRA02\lightning,S-1-5-21-3935383152-2057740328-1672152018-1008:/home/lightning:/bin/switch
corvette:unused_by_nt/2000/xp:1007:513:Service Account,U-EITINFRA02\corvette,S-1-5-21-3935383152-2057740328-1672152018-1007:/home/corvette:/bin/switch
I used a completely different account to install the software. However, I believe as part of the 2003 workaround I deleted the file that was originally placed here and recreated it with the mkpasswd command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 05:32 AM
11-01-2004 05:32 AM
Re: Making progress, but OpenSSH still won't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 05:49 AM
11-01-2004 05:49 AM
Re: Making progress, but OpenSSH still won't work.
I haven't even gotten to any target servers yet. My problem is that I cannot connect to that service on the CMS. Because I can't connect to it on the CMS, I cannot do an initial push of a support pack to any other boxes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 06:12 AM
11-01-2004 06:12 AM
Re: Making progress, but OpenSSH still won't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 03:29 AM
11-11-2004 03:29 AM
Re: Making progress, but OpenSSH still won't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 04:56 AM
11-11-2004 04:56 AM
Re: Making progress, but OpenSSH still won't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 05:10 AM
11-11-2004 05:10 AM
SolutionRegarding your remaining problem...do you mean you can't run a command line like NETSTAT from Tools - Command-Line Tools?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 05:50 AM
11-11-2004 05:50 AM
Re: Making progress, but OpenSSH still won't work.
To get things working, I ended up creating a new account called "Administrator". I logged in with that account to establish a profile folder and then ran "mkpasswd -l -u administrator >>C:\program Files\openssh\etc\passwd. After that I did an MXAgentConfig and everything works.
Does anyone know of a workaround so that you can use an alternate account? It is unacceptable to have to use such an easy targeted account for this.
Also Scott thank you very much for your help again. I appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 05:57 AM
11-11-2004 05:57 AM
Re: Making progress, but OpenSSH still won't work.
The passwd file would have to be edited from /home/newadmin to /home/Administrator.
The reason I opened a call with HP is because if you attempt to run MXAGENTCONFIG *before* editing the passwd file, it never seems to successfully connect no matter what I do. Yet, I can successfully ssh from a command-line both ways.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 06:04 AM
11-11-2004 06:04 AM
Re: Making progress, but OpenSSH still won't work.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 08:45 AM
11-11-2004 08:45 AM