diff --git a/perl-xCAT-2.0/xCAT/DSHCLI.pm b/perl-xCAT-2.0/xCAT/DSHCLI.pm index af1c02a58..41fa98b46 100644 --- a/perl-xCAT-2.0/xCAT/DSHCLI.pm +++ b/perl-xCAT-2.0/xCAT/DSHCLI.pm @@ -3701,7 +3701,7 @@ sub parse_and_run_dsh # -K option just sets up the ssh keys on the nodes and exits if (defined $options{'ssh-setup'}) { - my $rc = xCAT::Utils->setupSSH($noderange); + my $rc = xCAT::Utils->setupSSH(@nodelist); my @results = "return code = $rc"; return (@results); }