File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
docs/en/operations/settings Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,9 @@ Password can be specified in plaintext or in SHA256 (hex format).
8080
8181 Example of how to generate a password from shell:
8282
83- PASSWORD=$(base64 < /dev/urandom | head -c8); echo "$PASSWORD"; echo -n "$PASSWORD" | sha256sum | tr -d '-'
83+ ``` bash
84+ PASSWORD=$( base64 < /dev/urandom | head -c8) ; echo " $PASSWORD " ; echo -n " $PASSWORD " | sha256sum | tr -d ' -'
85+ ```
8486
8587 The first line of the result is the password. The second line is the corresponding SHA256 hash.
8688
@@ -92,7 +94,9 @@ Password can be specified in plaintext or in SHA256 (hex format).
9294
9395 Example of how to generate a password from shell:
9496
95- PASSWORD=$(base64 < /dev/urandom | head -c8); echo "$PASSWORD"; echo -n "$PASSWORD" | sha1sum | tr -d '-' | xxd -r -p | sha1sum | tr -d '-'
97+ ` ` ` bash
98+ PASSWORD=$( base64 < /dev/urandom | head -c8) ; echo " $PASSWORD " ; echo -n " $PASSWORD " | sha1sum | tr -d ' -' | xxd -r -p | sha1sum | tr -d ' -'
99+ ` ` `
96100
97101 The first line of the result is the password. The second line is the corresponding double SHA1 hash.
98102
@@ -101,6 +105,7 @@ Password can be specified in plaintext or in SHA256 (hex format).
101105This setting allows authenticating with SSH keys.
102106
103107Given a SSH key (as generated by ` ssh-keygen` ) like
108+
104109` ` ` text
105110ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDNf0r6vRl24Ix3tv2IgPmNPO2ATa2krvt80DdcTatLj [email protected] 106111` ` `
You can’t perform that action at this time.
0 commit comments