Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
xtyxtyx committed Jan 11, 2022
1 parent 4f9a901 commit 025740a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2.3.1-pre
- Add remoteVersion field to SSHClient

## 2.3.0-pre
- Add description field in SSHChannelOpenError

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@ List<SSHKeyPair> decryptKeyPairs(List<String> args) {
final keypairs = await compute(decryptKeyPairs, ['<pem text>', '<passphrase>']);
```

### Get the version of SSH server

```dart
await client.authenticated;
print(client.remoteVersion); // SSH-2.0-OpenSSH_7.4p1
```

## SFTP

### List remote directory
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: dartssh2
version: 2.3.0-pre
version: 2.3.1-pre
description: A SSH and SFTP client written in pure Dart, aiming to be feature-rich as well as easy to use.
# author is a deprecated pubspec field.
# author: Green Appers, Inc. <greenappers@gmail.com>
Expand Down

0 comments on commit 025740a

Please sign in to comment.