You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -750,7 +750,7 @@ You can find more examples in the `examples` directory of this repository.
750
750
lang:''
751
751
}
752
752
}
753
-
```
753
+
```
754
754
755
755
***rekey**() - Emitted when a rekeying operation has completed (either client or server-initiated).
756
756
@@ -878,10 +878,10 @@ You can find more examples in the `examples` directory of this repository.
878
878
879
879
***strictVendor** - _boolean_ - Performs a strict server vendor check before sending vendor-specific requests, etc. (e.g. check for OpenSSH server when using `openssh_noMoreSessions()`) **Default:**`true`
880
880
881
-
***algorithms** - _object_ - This option allows you to explicitly override the default transport layer algorithms used for the connection. The value for each category must either be an array of valid algorithm names to set an exact list (with the most preferrable first) or an object containing `append`, `prepend`, and/or `remove` properties that each contain an _array_ of algorithm names or RegExps to match to adjust default lists for each category. Valid keys:
881
+
***algorithms** - _object_ - This option allows you to explicitly override the default transport layer algorithms used for the connection. The value for each category must either be an array of valid algorithm names to set an exact list (with the most preferable first) or an object containing `append`, `prepend`, and/or `remove` properties that each contain an _array_ of algorithm names or RegExps to match to adjust default lists for each category. Valid keys:
882
882
883
883
***kex** - _mixed_ - Key exchange algorithms.
884
-
* Default list (in order from most to least preferrable):
884
+
* Default list (in order from most to least preferable):
885
885
* `curve25519-sha256 (node v14.0.0+)`
886
886
* `curve25519-sha256@libssh.org (node v14.0.0+)`
887
887
* `ecdh-sha2-nistp256`
@@ -899,7 +899,7 @@ You can find more examples in the `examples` directory of this repository.
899
899
* `diffie-hellman-group1-sha1`
900
900
901
901
***serverHostKey** - _mixed_ - Server host key formats.
902
-
* Default list (in order from most to least preferrable):
902
+
* Default list (in order from most to least preferable):
903
903
*`ssh-ed25519` (node v12.0.0+)
904
904
*`ecdsa-sha2-nistp256`
905
905
*`ecdsa-sha2-nistp384`
@@ -911,7 +911,7 @@ You can find more examples in the `examples` directory of this repository.
911
911
*`ssh-dss`
912
912
913
913
***cipher** - _mixed_ - Ciphers.
914
-
* Default list (in order from most to least preferrable):
914
+
* Default list (in order from most to least preferable):
915
915
*`chacha20-poly1305@openssh.com` (priority of chacha20-poly1305 may vary depending upon CPU and/or optional binding availability)
916
916
*`aes128-gcm`
917
917
*`aes128-gcm@openssh.com`
@@ -932,7 +932,7 @@ You can find more examples in the `examples` directory of this repository.
932
932
*`cast128-cbc`
933
933
934
934
***hmac** - _mixed_ - (H)MAC algorithms.
935
-
* Default list (in order from most to least preferrable):
935
+
* Default list (in order from most to least preferable):
936
936
*`hmac-sha2-256-etm@openssh.com`
937
937
*`hmac-sha2-512-etm@openssh.com`
938
938
*`hmac-sha1-etm@openssh.com`
@@ -948,7 +948,7 @@ You can find more examples in the `examples` directory of this repository.
948
948
*`hmac-md5-96`
949
949
950
950
***compress** - _mixed_ - Compression algorithms.
951
-
* Default list (in order from most to least preferrable):
951
+
* Default list (in order from most to least preferable):
952
952
*`none`
953
953
*`zlib@openssh.com`
954
954
*`zlib`
@@ -1166,7 +1166,7 @@ You can find more examples in the `examples` directory of this repository.
1166
1166
lang:''
1167
1167
}
1168
1168
}
1169
-
```
1169
+
```
1170
1170
1171
1171
***rekey**() - Emitted when a rekeying operation has completed (either client or server-initiated).
Copy file name to clipboardExpand all lines: SFTP.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,7 @@ SFTP methods
258
258
259
259
`options` can include `start` and `end` values to read a range of bytes from the file instead of the entire file. Both`start` and `end` are inclusive and start at 0. The `encoding` can be `'utf8'`, `'ascii'`, or `'base64'`.
260
260
261
-
If `autoClose` is false, then the file handle won't be closed, even if there's an error. It is your responsiblity to close it and make sure there's no file handle leak. If `autoClose` is set to true (default behavior), on `error` or `end` the file handle will be closed automatically.
261
+
If `autoClose` is false, then the file handle won't be closed, even if there's an error. It is your responsibility to close it and make sure there's no file handle leak. If `autoClose` is set to true (default behavior), on `error` or `end` the file handle will be closed automatically.
262
262
263
263
An example to read the last 10 bytes of a file which is 100 bytes long:
0 commit comments