diff --git a/src/main/java/com/osiris/autoplug/client/configs/SSHConfig.java b/src/main/java/com/osiris/autoplug/client/configs/SSHConfig.java index 60903d0..fa615c6 100644 --- a/src/main/java/com/osiris/autoplug/client/configs/SSHConfig.java +++ b/src/main/java/com/osiris/autoplug/client/configs/SSHConfig.java @@ -91,7 +91,7 @@ public SSHConfig() throws IOException, DuplicateKeyException, YamlReaderExceptio "The generated file will be a .pub file, which contains the public key.", "Example connection command: `ssh -i /path/to/private/key username@server-ip-address`"); - server_private_key = put(name, "server-private-key") + server_private_key = put(name, "server-private-key").setDefValues("./autoplug/server_host_key.ser") .setComments( "The private key used by the server to authenticate itself to the SSH console.", "The file must be in the OpenSSH format.",