diff --git a/xCAT-client/pods/man1/xdsh.1.pod b/xCAT-client/pods/man1/xdsh.1.pod index f4736657d..0447c3cf6 100644 --- a/xCAT-client/pods/man1/xdsh.1.pod +++ b/xCAT-client/pods/man1/xdsh.1.pod @@ -249,17 +249,17 @@ Displays usage information. =item B<-K>|B<--ssh-setup> -=item B<-K>|B<--ssh-setup> B<-l>|B<--user> I +=item B<-K>|B<--ssh-setup> B<-l>|B<--user> I B<--devicetype> I Set up the SSH keys for the specified node list. Currently, this must be run on on a client that has the userid defined consistent with the userid that will be updated with ssh keys on the node. -If the -l option is not defined, then the user_id updated on the -node will the same as the current user_id running the command. -If the -l option is used, and the user_id is not the current user_id -running the command then the command must be run as root. - +If the current user is root, roots public ssh keys will be put in the +authorized_keys* files under roots .ssh directory on the node(s). +If the current user is non-root, and the user is in the policy table, then +the current users public ssh keys and root's public ssh keys will be put in +the authorized_keys* files under the current users .ssh directory on the node(s). Other device types, such as IB switch, are also supported. The device should be defined as a node and nodetype should be defined as switch before connecting. @@ -487,14 +487,19 @@ userdefined. =item * -To define the IB switch as node and set up the SSH keys for IB switch +To set up the SSH keys for IB switch B with device configuration file B and user name B, Enter -B I<-t node -o qswitch groups=all nodetype=switch> B I +=item * + +To set up the SSH keys for root on node1, run as root: + +B I + =item * To run the B command on node targets B and B, enter: