increment to v0.1.4
This commit is contained in:
parent
08400b0544
commit
3b634b1f35
5 changed files with 9 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
# Change Log
|
||||
## [0.1.4] 2017-11-09
|
||||
## [0.1.4] 2018-01-30
|
||||
### Changed
|
||||
- Moved socket and util out of folders into .js in root.
|
||||
|
||||
- added keepaliveInterval and keepaliveCountMax config options
|
||||
|
||||
## [0.1.3] 2017-09-28
|
||||
### Changed
|
||||
|
|
|
@ -76,6 +76,10 @@ docker run --name webssh2 -d -p 2222:2222 webssh2
|
|||
|
||||
* **ssh.readyTimeout** - _integer_ - How long (in milliseconds) to wait for the SSH handshake to complete. **Default:** 20000.
|
||||
|
||||
* **ssh.keepaliveInterval** - _integer_ - How often (in milliseconds) to send SSH-level keepalive packets to the server (in a similar way as OpenSSH's ServerAliveInterval config option). Set to 0 to disable. **Default:** 120000.
|
||||
|
||||
* **ssh.keepaliveCountMax** - _integer_ - How many consecutive, unanswered SSH-level keepalive packets that can be sent to the server before disconnection (similar to OpenSSH's ServerAliveCountMax config option). **Default:** 10.
|
||||
|
||||
* **useminified** - _boolean_ - Choose between ./public/client-full.htm (false/non-minified) or ./public/client-min.htm (true/minified js), defaults to false (non-minified version)
|
||||
|
||||
* **header.text** - _string_ - Specify header text, defaults to `My Header` but may also be set to `null`. When set to `null` no header bar will be displayed on the client.
|
||||
|
|
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "webssh2",
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.4",
|
||||
"ignore": [
|
||||
".gitignore"
|
||||
],
|
||||
|
|
|
@ -112,6 +112,8 @@ module.exports = function socket (socket) {
|
|||
tryKeyboard: true,
|
||||
algorithms: socket.request.session.ssh.algorithms,
|
||||
readyTimeout: socket.request.session.ssh.readyTimeout,
|
||||
keepaliveInterval: socket.request.session.ssh.keepaliveInterval,
|
||||
keepaliveCountMax: socket.request.session.ssh.keepaliveCountMax,
|
||||
debug: debug('ssh2')
|
||||
})
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue