Username get (#162)
* feat(auth): ssh private key auth implemented via config.json If config.json is present and user.privatekey has an ssh-rsa private key defined as well as a user.name, the SSH server will staticlly authenticate to whatever host is specified on the URL with those credentials. The ssh-rsa private key must have is line returns replaced with the litaral \n Example: "-----BEGIN RSA PRIVATE KEY-----\nblahblahblah\n" * docs:update README.com
This commit is contained in:
parent
342df8eb9c
commit
9a96637cb4
1 changed files with 65 additions and 66 deletions
37
README.md
37
README.md
|
@ -137,20 +137,20 @@ docker run --name webssh2 -d -p 2222:2222 -v `pwd`/app/config.json:/usr/src/conf
|
|||
|
||||
* Default values:
|
||||
|
||||
1. ecdh-sha2-nistp256
|
||||
2. ecdh-sha2-nistp384
|
||||
3. ecdh-sha2-nistp521
|
||||
4. diffie-hellman-group-exchange-sha256
|
||||
1. ecdh-sha2-nistp256 **(node v0.11.14 or newer)**
|
||||
2. ecdh-sha2-nistp384 **(node v0.11.14 or newer)**
|
||||
3. ecdh-sha2-nistp521 **(node v0.11.14 or newer)**
|
||||
4. diffie-hellman-group-exchange-sha256 **(node v0.11.12 or newer)**
|
||||
5. diffie-hellman-group14-sha1
|
||||
|
||||
* Supported values:
|
||||
|
||||
* ecdh-sha2-nistp256
|
||||
* ecdh-sha2-nistp384
|
||||
* ecdh-sha2-nistp521
|
||||
* diffie-hellman-group-exchange-sha256
|
||||
* ecdh-sha2-nistp256 **(node v0.11.14 or newer)**
|
||||
* ecdh-sha2-nistp384 **(node v0.11.14 or newer)**
|
||||
* ecdh-sha2-nistp521 **(node v0.11.14 or newer)**
|
||||
* diffie-hellman-group-exchange-sha256 **(node v0.11.12 or newer)**
|
||||
* diffie-hellman-group14-sha1
|
||||
* diffie-hellman-group-exchange-sha1
|
||||
* diffie-hellman-group-exchange-sha1 **(node v0.11.12 or newer)**
|
||||
* diffie-hellman-group1-sha1
|
||||
|
||||
* **cipher** - _array_ - Ciphers.
|
||||
|
@ -160,21 +160,20 @@ docker run --name webssh2 -d -p 2222:2222 -v `pwd`/app/config.json:/usr/src/conf
|
|||
1. aes128-ctr
|
||||
2. aes192-ctr
|
||||
3. aes256-ctr
|
||||
4. aes128-gcm
|
||||
5. aes128-gcm@openssh.com
|
||||
6. aes256-gcm
|
||||
7. aes256-gcm@openssh.com
|
||||
8. aes256-cbc **legacy cipher for backward compatibility, should removed :+1:**
|
||||
4. aes128-gcm **(node v0.11.12 or newer)**
|
||||
5. aes128-gcm@openssh.com **(node v0.11.12 or newer)**
|
||||
6. aes256-gcm **(node v0.11.12 or newer)**
|
||||
7. aes256-gcm@openssh.com **(node v0.11.12 or newer)**
|
||||
|
||||
* Supported values:
|
||||
|
||||
* aes128-ctr
|
||||
* aes192-ctr
|
||||
* aes256-ctr
|
||||
* aes128-gcm
|
||||
* aes128-gcm@openssh.com
|
||||
* aes256-gcm
|
||||
* aes256-gcm@openssh.com
|
||||
* aes128-gcm **(node v0.11.12 or newer)**
|
||||
* aes128-gcm@openssh.com **(node v0.11.12 or newer)**
|
||||
* aes256-gcm **(node v0.11.12 or newer)**
|
||||
* aes256-gcm@openssh.com **(node v0.11.12 or newer)**
|
||||
* aes256-cbc
|
||||
* aes192-cbc
|
||||
* aes128-cbc
|
||||
|
@ -191,7 +190,7 @@ docker run --name webssh2 -d -p 2222:2222 -v `pwd`/app/config.json:/usr/src/conf
|
|||
|
||||
1. hmac-sha2-256
|
||||
2. hmac-sha2-512
|
||||
3. hmac-sha1 **legacy hmac for backward compatibility, should removed :+1:**
|
||||
3. hmac-sha1
|
||||
|
||||
* Supported values:
|
||||
|
||||
|
|
Loading…
Reference in a new issue