From ea1d1d8d7affb64e8a5d7ee33e1e857051486e96 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 13 Oct 2009 13:29:10 +0000 Subject: [PATCH] update makeknownhosts git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man8/makeknownhosts.8.pod | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/xCAT-client/pods/man8/makeknownhosts.8.pod b/xCAT-client/pods/man8/makeknownhosts.8.pod index 67e91cd48..649cd6830 100644 --- a/xCAT-client/pods/man8/makeknownhosts.8.pod +++ b/xCAT-client/pods/man8/makeknownhosts.8.pod @@ -4,16 +4,21 @@ B - Make a known_hosts file under $ROOTHOME/.ssh for input noder =head1 SYNOPSIS -B [I] +B I B {B<-h>|B<--help>} =head1 DESCRIPTION -B 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 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