Added better description of options for SSH keys

This commit is contained in:
FrozenFOXX 2019-02-15 11:38:33 -08:00 committed by GitHub
parent 66bd2ce108
commit fd514e9613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -218,7 +218,16 @@ function getDefaultConfig() {
// Private key in PEM format
//
// Generating your PK:
// > openssl genrsa -aes128 -out ./config/ssh_private_key.pem 2048
// Choose a cipher (3DES, AES128, or AES256) and a bit strength (2048 or 4096)
// Ciphers:
// 3des: older, most compatible, least secure
// aes128: newer, widely compatible, fairly secure
// aes256: newest, least compatible, best security
// Bit strength:
// 2048: most compatible, decent strength
// 4096: stronger, but some software is completely incompatible
// Sample command:
// openssl genrsa -aes128 -out ./config/ssh_private_key.pem 2048
//
// Then, set servers.ssh.privateKeyPass to the password you use above
// in your config.hjson