Skip to content

Commit 120ac17

Browse files
authored
Merge pull request #276 from Fjox/master
Set default value for server private key path
2 parents 49a4c85 + 867d8e1 commit 120ac17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/osiris/autoplug/client/configs/SSHConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public SSHConfig() throws IOException, DuplicateKeyException, YamlReaderExceptio
9191
"The generated file will be a .pub file, which contains the public key.",
9292
"Example connection command: `ssh -i /path/to/private/key username@server-ip-address`");
9393

94-
server_private_key = put(name, "server-private-key")
94+
server_private_key = put(name, "server-private-key").setDefValues("./autoplug/server_host_key.ser")
9595
.setComments(
9696
"The private key used by the server to authenticate itself to the SSH console.",
9797
"The file must be in the OpenSSH format.",

0 commit comments

Comments
 (0)