fix bug 4069 'rspconfig hmc sshcfg=enable' failed in rhel7.0 environment

This commit is contained in:
zhaoertao 2014-06-11 23:16:11 -07:00
parent 8aaec27237
commit 3bf749e8fe

View File

@ -436,9 +436,9 @@ sub sshcfg {
#####################################
# userid@host not found in key file
#####################################
if ( $sshkey !~ /\s+(\S+\@\S+$)/ ) {
return( [[$server,"Cannot find userid\@host in '$fname'",RC_ERROR]] );
}
#if ( $sshkey !~ /\s+(\S+\@\S+$)/ ) {
# return( [[$server,"Cannot find userid\@host in '$fname'",RC_ERROR]] );
#}
my $logon = $1;
#####################################