2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 18:50:28 +00:00

Merge pull request #883 from pdlun92/rsa

Checking credential files will now check for rsa key, rather than rsa1 key
This commit is contained in:
Victor Hu
2016-03-31 09:54:27 -04:00

View File

@@ -1575,7 +1575,7 @@ sub checkCredFiles
$dir = "$installdir/postscripts/hostkeys";
if (-d $dir)
{
my $file = "$dir/ssh_host_key.pub";
my $file = "$dir/ssh_host_rsa_key.pub";
if (-e $file)
{
my $file2 = "$dir/*.pub"; # all public keys