diff options
-rw-r--r-- | lib/leap_cli/commands/node.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/leap_cli/commands/node.rb b/lib/leap_cli/commands/node.rb index de6adad..e96293c 100644 --- a/lib/leap_cli/commands/node.rb +++ b/lib/leap_cli/commands/node.rb @@ -60,6 +60,7 @@ module LeapCli; module Commands pub_key = read_file([:node_ssh_pub_key,node.name]) if pub_key buffer << [hostnames, pub_key].join(' ') + buffer << "\n" end end write_file!(:known_hosts, buffer.string) |