update makeknownhosts

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-10-13 13:29:10 +00:00
parent fe228e40d1
commit ea1d1d8d7a

View File

@ -4,16 +4,21 @@ B<makeknownhosts> - Make a known_hosts file under $ROOTHOME/.ssh for input noder
=head1 SYNOPSIS
B<makeknownhosts> [I<noderange>]
B<makeknownhosts> I<noderange>
B<makeknownhosts> {B<-h>|B<--help>}
=head1 DESCRIPTION
B<makeknownhosts> builds a known_hosts file in the $ROOTHOME/.ssh directory for all nodes from the input noderange. The known_hosts file is built from the
shared ssh host key that xCAT distributes to the nodes.
To build the key for a node, you are only required to have the node in the database and name resolution working for the node. You do not have to be able to access the node.
Having this file will avoid the ssh warning when nodes are automatically added to the known_hosts file. The file should be distributed using xdcp to all the nodes, if you want node to node communication not to display the warning.
B<makeknownhosts> Replaces in the known_hosts file in the $ROOTHOME/.ssh directory, the enties for the nodes from the noderange input to the command.
The known_hosts file entry is built from the shared ssh host key that xCAT distributes to the installed nodes.
HMCs, AMM, switches, etc., where xCAT does not distribute the shared ssh host key, should not be put in the noderange.
To build the known_hosts entry for a node, you are only required to have the node in the database, and name resolution working for the node. You do not have to be able to access the node.
Having this file with correct entries, will avoid the ssh warning when nodes are automatically added to the known_hosts file.
The file should be distributed using xdcp to all the nodes, if you want node to node communication not to display the warning.
=head1 OPTIONS
@ -29,6 +34,10 @@ Having this file will avoid the ssh warning when nodes are automatically added t
makeknownhosts compute
=item *
makeknownhosts lpars,service
=back