diff --git a/lib/vagrant/util/keypair.rb b/lib/vagrant/util/keypair.rb index 244b9a73019..a83b5813ccf 100644 --- a/lib/vagrant/util/keypair.rb +++ b/lib/vagrant/util/keypair.rb @@ -18,7 +18,7 @@ class Ed25519 # Header of private key file content PRIVATE_KEY_START = "-----BEGIN OPENSSH PRIVATE KEY-----\n".freeze # Footer of private key file content - PRIVATE_KEY_END = "-----END OPENSSH PRIVATE KEY-----".freeze + PRIVATE_KEY_END = "-----END OPENSSH PRIVATE KEY-----\n".freeze # Encodes given string #