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 5e3832753f
commit 1fcadbd9f4

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;
#####################################