fixed ssh known_hosts

This commit is contained in:
praetor 2019-03-24 23:16:20 +00:00
parent e71d11735f
commit ccc95a3aac
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ sub generateConfig {
sub getKeys {
my $address = shift;
my $cmd = "/usr/bin/ssh-keyscan $address >> /var/spool/uucp/.ssh/known_hosts";
my $cmd = "/usr/bin/ssh-keyscan -H $address >> /var/spool/uucp/.ssh/known_hosts";
system($cmd);
}