diff --git a/README.md b/README.md index 50ae117..4b097a0 100644 --- a/README.md +++ b/README.md @@ -199,6 +199,10 @@ Here is all the options of a configuration file: // // Notice: You can use the same JSON value for `SSHWIFTY_PRESETS` if you are // configuring your Sshwifty through enviroment variables. + // + // Warning: Presets Data will be sent to user client WITHOUT any protection. + // DO NOT add any secret information into Preset. + // "Presets": [ { // Title of the preset @@ -223,8 +227,9 @@ Here is all the options of a configuration file: // Data for predefined Password field "Password": "pre-defined-password", - // Data for predefined Private Key field - "Private Key": "pre-defined-private-key", + // Data for predefined Private Key field, should contains the content + // of a Key file + "Private Key": "-----BEGIN RSA PRIV...\nMIIE...\n-----END RSA PRI...\n", // Data for predefined Authentication field. Valid values is what // displayed on the page (Password, Private Key, None) @@ -234,7 +239,7 @@ Here is all the options of a configuration file: { "Title": "Endpoint Telnet", "Type": "Telnet", - "Host": "endpoint.vaguly.com", + "Host": "endpoint.vaguly.com:23", "Meta": { // Data for predefined Encoding field. Valid data is those displayed on // the page diff --git a/sshwifty.conf.example.json b/sshwifty.conf.example.json index 8cacf8e..815418f 100644 --- a/sshwifty.conf.example.json +++ b/sshwifty.conf.example.json @@ -36,7 +36,7 @@ "Meta": { "User": "root", "Encoding": "utf-8", - "Private Key": "--------- BEGIN RSA PRIVATE KEY ---------", + "Private Key": "-----BEGIN RSA PRIV...\nMIIE...\n-----END RSA PRI...\n", "Authentication": "Private Key" } },