New Features:
Changes:
Fixes:
- Improved accuracy of IsConnected on .NET
- Added support for ssh.com (SSH-2) private keys (issue #1987)
- Support an acceptable group of up to 8192 bits for SHA-1 and SHA-256 Diffie-Hellman Group and Key Exchange (issues #1973 and #1777)
Changes:
- Reduced default buffer size for SftpClient from 64 KB to 32 KB as some SSH servers apply a hard limit of 64 KB at the transport level.
Fixes:
- SftpClient is throwing undocumented exceptions (issue #2148)
- Client channels are no longer closed on dispose (issue #1943)
- SftpClient.Exists(string) returns true for a path that does not exist (issues #1952, #1696 and #1574)
- ObjectDisposedException when channel is closing (issues #1942 and #1944)
- Stack overflow during authentication when server returns same allowed methods after partial success (issue #2399)
- SshCommand doesn't cleanup subscribed events (issue #2295)
- Lines before protocol identification string are not skipped (issue #1935 and #2223)
- ShellStream.ReadLine produces incorrect output when reading multi-byte characters (issue #2190)
- SftpClient constructor throws ArgumentException when host contains underscore (issue #1845)
- Signing key is missing from source download (issue #2455)
- Forwarded Port channels can get stuck waiting (issue #1558)
- NullReferenceException when SftpFileStream is finalized after dispose of session (issue #2013)
- BlockCipher.Encrypt fails if input message is not padded (issue #2547)
- ScpClient: Missing files when using DirectoryUpload (issue #1382)
- Dynamic port forwarding slows down to a crawl (issue #2010)
- SendKeepAlive causes SocketException when connection is dropped (issue #2029)
- SocketException on Dispose or Disconnect (issue #2400)
- Sending EOF on wrong channel number (issue #1877)
- ForwardedPortDynamic: Unhandled exception if client terminates socket (issue #1844)