fix bug 4069 'rspconfig hmc sshcfg=enable' failed in rhel7.0 environment
This commit is contained in:
parent
8aaec27237
commit
3bf749e8fe
@ -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;
|
||||
|
||||
#####################################
|
||||
|
Loading…
Reference in New Issue
Block a user