diff --git a/xCAT-server/lib/xcat/dsh/Context/XCAT.pm b/xCAT-server/lib/xcat/dsh/Context/XCAT.pm index 0ff1b0e1a..55eaa18d1 100644 --- a/xCAT-server/lib/xcat/dsh/Context/XCAT.pm +++ b/xCAT-server/lib/xcat/dsh/Context/XCAT.pm @@ -287,14 +287,14 @@ sub resolve_node =head3 get_xcat_remote_cmds - Using xCAT native commands, store the remote command settings for - the remote shell and remote copy commands as defined in xCAT - site table . - if no site table (rsh, rcp attribute) definition, then + Using xCAT native commands,check the useSSHonAIX attribute for AIX on Linux use ssh - on AIX, check for ssh and use it is installed and configured + on AIX, check for useSSHonAIX, if says use ssh and + it is installed and configured, use it , otherwise use rsh + site.rsh and site.rcp are no longer used + Arguments: None @@ -339,17 +339,6 @@ sub get_xcat_remote_cmds $XCAT_RCP_CMD = "/usr/bin/rcp"; } } - # override with site table settings, if they exist - my @remote_shell = xCAT::Utils->get_site_attribute("rsh"); - if ($remote_shell[0]) - { - $XCAT_RSH_CMD = $remote_shell[0]; - } - my @remote_copy = xCAT::Utils->get_site_attribute("rcp"); - if ($remote_copy[0]) - { - $XCAT_RCP_CMD = $remote_copy[0]; - } }