- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: Still getting "Authentication Failed"
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-15-2004 03:01 AM
10-15-2004 03:01 AM
Re: Still getting "Authentication Failed"
Hmmm is right - I havent run into that one. What do the passwd files look like now - both on SIM and the managed server? And you don't get a similar error going from managed to SIM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:09 AM
10-15-2004 03:09 AM
Re: Still getting "Authentication Failed"
Administrator:unused_by_nt/2000/xp:500:513:U-ALTIRIS\Administrator,S-1-5-21-3701861016-2435991769-1927693423-500:/home/altirisdude:/bin/switch
Altirisdude:unused_by_nt/2000/xp:11302:10513:Altiris Manager,U-HHS-INC\Altirisdude,S-1-5-21-299502267-220523388-1801674531-1302:/home/altirisdude:/bin/switch
Altirisdude:unused_by_nt/2000/xp:11302:10513:Altiris Manager,U-HHS-INC\Altirisdude,S-1-5-21-299502267-220523388-1801674531-1302:/home/Altirisdude:/bin/switch
The passwd file in my managed server now looks like this:
BackUpdude:unused_by_nt/2000/xp:11374:10513:BackUpdude,U-HHS-INC\BackUpdude,S-1-5-21-299502267-220523388-1801674531-1374://server1/Users/is/BackUpdude:/bin/switch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:13 AM
10-15-2004 03:13 AM
Re: Still getting "Authentication Failed"
BackUpdude:unused_by_nt/2000/xp:11374:10513:BackUpdude,U-HHS-INC\BackUpdude,S-1-5-21-299502267-220523388-1801674531-1374:/home/BackUpdude:/bin/switch
It's difficult to explain this clearly. What the passwd file is really looking for is the locally cached profile path for the user that's running SSH - not the actual roaming profile path of the domain user account. So the /home portion of the passwd file really stands for "C:\Documents and Settings".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:37 AM
10-15-2004 03:37 AM
Re: Still getting "Authentication Failed"
This has taken us back (almost) where we started.
I changed the passwd file on the managed server as you suggested. Pasted below:
BackUpdude:unused_by_nt/2000/xp:11374:10513:BackUpdude,U-HHS-INC\BackUpdude,S-1-5-21-299502267-220523388-1801674531-1374:/home/BackUpdude:/bin/switch
Now when I ssh via command line from the Insight manager server to the managed server I see this:
C:\Documents and Settings\altirisdude>ssh backupdude@backup
backupdude@backup's password:
Could not chdir to home directory /home/BackUpdude: No such file or directory
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
I recall covering this issue earlier. I assumed that if the command placed the path in the passwd file, it's what was needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:41 AM
10-15-2004 03:41 AM
Re: Still getting "Authentication Failed"
Sorry to frustrate you again :S
What happens if you run MXAGENTCONFIG on the SIM server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:51 AM
10-15-2004 03:51 AM
Re: Still getting "Authentication Failed"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:53 AM
10-15-2004 03:53 AM
Re: Still getting "Authentication Failed"
HKLM\Software\Cygnus Solutions\Cygwin\mounts v2\/home\native
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:58 AM
10-15-2004 03:58 AM
Re: Still getting "Authentication Failed"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 03:59 AM
10-15-2004 03:59 AM
Re: Still getting "Authentication Failed"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 04:24 AM
10-15-2004 04:24 AM
Re: Still getting "Authentication Failed"
I can now connect via ssh command line both ways with no errors.
I think mxagentconfig is the next step. When I enter the following command from the Insight manager server command line, it just sits there.:
C:\Documents and Settings\altiris>mxagentconfig -a -u backupdude -p cleverlydisgusedpassword -n backup
...maybe in all this confusion I have my config steps out of order.
Do I need to add users with mkpasswd? I say no, it's already done, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 04:32 AM
10-15-2004 04:32 AM
Re: Still getting "Authentication Failed"
mxpasswd -d -u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 05:02 AM
10-15-2004 05:02 AM
Re: Still getting "Authentication Failed"
I used mkpasswd to add the user running MXAGENTCONFIG from the Insight Manager Server to the passwd file on the managed server.
I can see the new entry in the passwd file.
Now, I'm about to run the mxagentconfig and I realize (again) that I'm confused (again) about what I'm configuring here. What details am I specifying in the mxagentconfig command.
Is it mxagentconfig -a -u "insight manager server id" -p "insight manager server id password" -n "name of insight manager server"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 05:42 AM
10-15-2004 05:42 AM
Re: Still getting "Authentication Failed"
So what mxagentconfig is doing is placing its host key on the managed server, so the managed server will accept ssh communication when SIM requests it.
That's how I understand it anyway...
In your example command, you specified the name of the SIM server, which is incorrect. What you want to do is specify the managed node as the server - essentially means "on what server do you want to place my public key?"
So on the SIM server, you'd run:
mxagentconfig -a -n
Or you can just run mxagentconfig without any arguments and fill in the fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 06:18 AM
10-15-2004 06:18 AM
Re: Still getting "Authentication Failed"
When I issue that command from the Insight Manager server, it just sits there.
The command prompt doesn't come back to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 06:22 AM
10-15-2004 06:22 AM
Re: Still getting "Authentication Failed"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:09 AM
10-15-2004 07:09 AM
Re: Still getting "Authentication Failed"
I then tried the mxagentconfig command and received:
Configuration failed to complete due to an exception.
The Insight manager server shows two errors in event log that look interesting:
The description for Event ID ( 0 ) in Source ( OpenSSHd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: OpenSSHd : PID 2876 : `OpenSSHd' service started.
And:
The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: sshd : PID 740 : Server listening on 0.0.0.0 port 22..
No category or event ID for either message.
The service does start, however.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:15 AM
10-15-2004 07:15 AM
Re: Still getting "Authentication Failed"
What happens if you run the gui version of mxagentconfig? Do you get anything different - either at the gui, or in the event logs?
Also wonder what happens if you try to run a Windows command against this server in SIM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:23 AM
10-15-2004 07:23 AM
Re: Still getting "Authentication Failed"
It's different anyway...
I see no additional events.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:24 AM
10-15-2004 07:24 AM
Re: Still getting "Authentication Failed"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:28 AM
10-15-2004 07:28 AM
Re: Still getting "Authentication Failed"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:32 AM
10-15-2004 07:32 AM
Re: Still getting "Authentication Failed"
When going from Insight manager server to managed server, I get:
C:\Documents and Settings\altirisdude>ssh backupdude@backup
ssh: connect to host backup port 22: Connection refused
Coming back the opposite way, managed server to insight manager server, I can log in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:41 AM
10-15-2004 07:41 AM
Re: Still getting "Authentication Failed"
Now I'm suspecting this is related to the fact that you're using two different user accounts - something I have not done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:46 AM
10-15-2004 07:46 AM
Re: Still getting "Authentication Failed"
Started the service and can now ssh via command line to it from the Insight manager server.
mxagentconfig behaves as I have reported before. Just sits there.
The servers are local to one another on 100Mb switched LAN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:51 AM
10-15-2004 07:51 AM
Re: Still getting "Authentication Failed"
I feel just as frustrated now as I did when I first started using SIM... :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 08:05 AM
10-15-2004 08:05 AM
Re: Still getting "Authentication Failed"
You have shown far more patience than I ever could have. I appreciate your having dedicated the time you have to my issue. I've made progess and I know I'll get it going at some point. You know this product well, I can tell.
I can't imagine you'd want to post it here, but if you can somehow get an email address to me, I would like send you a gift card for your efforts.
Software and Hardware forums like this one need more guys with know-how like you!
Thanks again!
DWM
- « Previous
-
- 1
- 2
- Next »