From 867d8e17db6961184426710214e998d654785ed4 Mon Sep 17 00:00:00 2001 From: "FJOX.win" Date: Mon, 20 Oct 2025 21:22:33 +0200 Subject: [PATCH] Set default value for server private key path --- src/main/java/com/osiris/autoplug/client/configs/SSHConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 60903d07..fa615c62 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.",