known_hosts not concatenating. Fixed

This commit is contained in:
uucp 2019-03-20 05:40:42 +00:00
parent eea20dfacc
commit bda224e3f7
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;
my $cmd = "/usr/bin/ssh-keyscan $address >> /var/spool/uucp/.ssh/known_hosts";
system($cmd);
}