Question on SSH configuration in a cluster environment.
From: Snoopy_ (snoopy__at_excite.com)
Date: 01/16/04
- Next message: Chris Calabrese: "Re: what are the Best Security Conferences to attend"
- Previous message: Wendel: "Re: what are the Best Security Conferences to attend"
- Next in thread: Doug O'Leary: "Re: Question on SSH configuration in a cluster environment."
- Reply: Doug O'Leary: "Re: Question on SSH configuration in a cluster environment."
- Reply: Jeremiah DeWitt Weiner: "Re: Question on SSH configuration in a cluster environment."
- Reply: Kyler Laird: "Re: Question on SSH configuration in a cluster environment."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 16 Jan 2004 06:45:54 -0800
Issue: When a failover happens in a cluster, users can no longer
connect via ssh because of the changed host key. I believe users are
connecting to the logical/virtual cluster hostname, yet the
known_hosts file is picking up the public key from the physical host.
If the user removes that host from its known_host file, then
reconnection is successfull.
In investigating the ssh configuration issue for the cluster I have
found the following.
1. The issue is that when a failover happens from primary to secondary
node/server, there are ssh connection issues because the host_keys are
different on each server; probably because they were installed
separately and generated separately. If this is the case, I believe
the "known_hosts" file on the two nodes of the cluster has nothing to
do with the issue. It seems that the "known_host" file is used by the
client, and they exist in any user's .ssh directory when a connection
is established to a foreign hosts.
2. There are three ways to resolve the issue:
a. Place the /usr/local/etc/ssh* and /usr/local/ssh files on a
shared file system (resource), that is exported and imported when
failovers of the cluster occur.
b. Copy the /usr/local/etc/ssh* and /usr/local/ssh files from the
current node, onto the secondary node. This may cause problems in
the future if changes are made (host key regenerated), someone would
need to remember to copy the changes across the nodes.
c. Find someway to edit the ssh-config file so that it can be
resolved through configuration.
Any ideas are welcomed. Thanks.
Snoopy_
P.S. Below are some old new posts that I found that speak about the
same issue.
- Next message: Chris Calabrese: "Re: what are the Best Security Conferences to attend"
- Previous message: Wendel: "Re: what are the Best Security Conferences to attend"
- Next in thread: Doug O'Leary: "Re: Question on SSH configuration in a cluster environment."
- Reply: Doug O'Leary: "Re: Question on SSH configuration in a cluster environment."
- Reply: Jeremiah DeWitt Weiner: "Re: Question on SSH configuration in a cluster environment."
- Reply: Kyler Laird: "Re: Question on SSH configuration in a cluster environment."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|