- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: secure shell durring service guard package fai...
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
06-01-2006 08:38 AM
06-01-2006 08:38 AM
secure shell durring service guard package failover
has anybody else encountered this and what automated solutions were implemented.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 08:47 AM
06-01-2006 08:47 AM
Re: secure shell durring service guard package failover
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 09:05 AM
06-01-2006 09:05 AM
Re: secure shell durring service guard package failover
Are the /opt/ssh/etc/ssh_host_key files the same on both nodes in the cluster? In our clusters, we have them the same and I haven't seen any SSH denials switching packages from one node to another.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 12:40 AM
06-02-2006 12:40 AM
Re: secure shell durring service guard package failover
I'll get through a test as soon as possible but any further info or suggestions would be helpfull.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 03:19 AM
06-02-2006 03:19 AM
Re: secure shell durring service guard package failover
There are three workarounds to this that I know of, from the simplest (less secure) to the more complicated (more secure).
1. Put the same host key on both your servers. Not very good in terms of security.
2. Add manually the host keys for all your servers in the .ssh/known_hosts file of the user which initiates the connection. You can put more than one host key for each IP address. This does not work with all SSH clients, but OpenSSH-based clients did work last time I tried.
3. Configure an alternate SSH server, with a separate sshd_config file, that listens on another port than port 22. Associate this server with a particular host key that you propagate to each node of your cluster. If a user connects to port 22, he gets the host key of the "real" server. But on the alternate port, the hostkey of the HA service.
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2006 06:42 PM
06-02-2006 06:42 PM
Re: secure shell durring service guard package failover
-logu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 12:58 AM
06-05-2006 12:58 AM
Re: secure shell durring service guard package failover
root@somehost: ssh service_pkg
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
6a:55:43:8a:ca:a6:a5:4a:1a:aa:9a:74:2a:01:a6:aa.
Please contact your system administrator.
Add correct host key in /ts/root/.ssh/known_hosts to get rid of this message.
Offending key in /ts/root/.ssh/known_hosts:36
RSA host key for service_pkg has changed and you have requested strict checking.
Host key verification failed.
my temp solution was to delete the service_pkg entry from the named file (known_hosts) and renegotiate with a ssh over to the service guard package. this will work untill the next failover.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 01:51 AM
06-05-2006 01:51 AM
Re: secure shell durring service guard package failover
There's actually a pretty slick work around for this exact problem. I'm assuming you're using openssh.
Let me restate the problem. If I'm not accurate in what I'm trying to fix, you can (and probably should) ignore the rest of the post.
When the package (pkg) is running on the primary node (PM), you can ssh to ${pkg}'s IP address w/o issue.
If ${pkg} fails over to the adoptive node (AD), you get an error message about failed Host checking when you ssh to ${pkg}'s IP address.
The fix is to use host key aliasing. Details can be found at:
http://www.olearycomputers.com/ll/ssh_cluster.html
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 06:10 AM
06-05-2006 06:10 AM
Re: secure shell durring service guard package failover
first of all, this is what I get when I look at the ssh versioning:
root@: ssh -V
OpenSSH_3.9, OpenSSL 0.9.7d 17 Mar 2004
HP-UX Secure Shell-A.03.91.002, HP-UX Secure Shell version
second, I have a two node cluster with 2 packages; node1, node2, package1, package2. root is the ID that submits all of the ssh connections.
the solution I chose is here:
1. within ~root/.ssh/known_hosts, I removed the key's specific to package1.
2. node1 and node2 key entries were updated with the package info. for example here are the entries prior to change:
node1,123.456.78.90 ssh-rsa {KEY}
node2,123.456.78.91 ssh-rsa {KEY}
package1,123.456.78.92 ssh-rsa {KEY}
package2,123.456.78.93 ssh-rsa {KEY}
the package1 (haven't altered package2 yet) entry was removed and the node1, node2 key was updated with the package1 info:
node1,123.456.78.90,package1,123.456.78.92 ssh-rsa {KEY}
node2,123.456.78.91,package1,123.456.78.92 ssh-rsa {KEY}
package2,123.456.78.93 ssh-rsa {KEY}
subsequent ssh connections durring failovers worked for package1 when hosted on node1 or node2.
This seems really simple and far too easy ... please scrutinize this for validity and potential issues. please advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2006 07:37 AM
10-12-2006 07:37 AM