2023.0.1
29 Dec 23
Toggle Dropdown
Version 2024
2024.2.0
12 Nov 24
2024.1.0
1 Jul 24
2024.0.0
21 Feb 24
Version 2023
2023.0.1
29 Dec 23
2023.0.0
10 Oct 23
Version 2020
2020.0.2
29 May 22
2020.0.1
24 Jan 21
2020.0.0
31 Dec 20
2020.0.0-beta1
7 Jun 20
Version 2016
2016.1.0
16 Oct 17
2016.1.0-beta4
7 Oct 17
2016.1.0-beta3
20 Sep 17
2016.1.0-beta2
16 Aug 17
2016.1.0-beta1
14 Dec 16
2016.0.0
2 Aug 16
2016.0.0-beta3
27 Jul 16
2016.0.0-beta2
25 Jun 16
2016.0.0-beta1
19 Jun 16
Version 2014
2014.4.6-beta2
22 Nov 14
2014.4.6-beta1
6 Apr 14
Version 2013
2013.4.7
6 Apr 13
2013.1.27
27 Jan 13
2013.1.8
8 Jan 13
Version 2012
2012.21.12
21 Dec 12
2012.20.12
20 Dec 12
2012.12.3
4 Dec 12
2012.3.9
9 Mar 12
Version 2011
2011.12.7
3 Mar 12
2011.9.28
13 Oct 11
2011.7.29
16 Sep 11
Compare to version...
with 2023.0.0
Toggle Dropdown
Version 2024
2024.2.0
12 Nov 24
2024.1.0
1 Jul 24
2024.0.0
21 Feb 24
Version 2023
2023.0.1
29 Dec 23
2023.0.0
10 Oct 23
Version 2020
2020.0.2
29 May 22
2020.0.1
24 Jan 21
2020.0.0
31 Dec 20
2020.0.0-beta1
7 Jun 20
Version 2016
2016.1.0
16 Oct 17
2016.1.0-beta4
7 Oct 17
2016.1.0-beta3
20 Sep 17
2016.1.0-beta2
16 Aug 17
2016.1.0-beta1
14 Dec 16
2016.0.0
2 Aug 16
2016.0.0-beta3
27 Jul 16
2016.0.0-beta2
25 Jun 16
2016.0.0-beta1
19 Jun 16
Version 2014
2014.4.6-beta2
22 Nov 14
2014.4.6-beta1
6 Apr 14
Version 2013
2013.4.7
6 Apr 13
2013.1.27
27 Jan 13
2013.1.8
8 Jan 13
Version 2012
2012.21.12
21 Dec 12
2012.20.12
20 Dec 12
2012.12.3
4 Dec 12
2012.3.9
9 Mar 12
Version 2011
2011.12.7
3 Mar 12
2011.9.28
13 Oct 11
2011.7.29
16 Sep 11
Download Package
Open in NuGet
<
PackageReference
Include
=
"SSH.NET"
Version
=
"2023.0.1"
/>
API Differences between 2023.0.1 and 2023.0.0
48
Additions
23
Removals
Renci.SshNet
public
abstract
class
BaseClient
:
IBaseClient
,
IDisposable
public
event
EventHandler
<
SshIdentificationEventArgs
>
ServerIdentificationReceived
public
abstract
class
ForwardedPort
:
IForwardedPort
,
IDisposable
public
event
EventHandler
Closing
public
void
Dispose
()
public
class
ForwardedPortDynamic
:
ForwardedPort
public
void
Dispose
()
public
class
ForwardedPortLocal
:
ForwardedPort
public
void
Dispose
()
public
class
ForwardedPortRemote
:
ForwardedPort
public
void
Dispose
()
public
interface
IBaseClient
:
IDisposable
void
Dispose
()
public
interface
ISftpClient
:
IBaseClient
,
IDisposable
IAsyncEnumerable
<
ISftpFile
>
ListDirectoryAsync
(
string
path
,
CancellationToken
cancellationToken
)
public
class
ScpClient
:
BaseClient
public
void
Download
(
string
filename
,
Stream
destination
)
public
void
Download
(
string
filename
,
Stream
destination
)
public
class
Session
:
ISession
,
IDisposable
public
SemaphoreLight
SessionSemaphore
{
get
; }
public
SemaphoreSlim
SessionSemaphore
{
get
; }
public
event
EventHandler
<
SshIdentificationEventArgs
>
ServerIdentificationReceived
public
class
SftpClient
:
BaseClient
,
ISftpClient
,
IBaseClient
,
IDisposable
public
IAsyncEnumerable
<
ISftpFile
>
ListDirectoryAsync
(
string
path
,
CancellationToken
cancellationToken
)
Renci.SshNet.Abstractions
public
static
class
DiagnosticAbstraction
public
static
readonly
TraceSource
Source
public
static
void
Log
(
string
text
,
TraceEventType
type
=
16
)
Renci.SshNet.Common
public
class
AuthenticationPromptEventArgs
:
AuthenticationEventArgs
public
IEnumerable
<
AuthenticationPrompt
>
Prompts
{
get
; }
public
AuthenticationPromptEventArgs
(
string
username
,
string
instruction
,
string
language
,
IEnumerable
<
AuthenticationPrompt
>
prompts
)
public
IReadOnlyList
<
AuthenticationPrompt
>
Prompts
{
get
; }
public
AuthenticationPromptEventArgs
(
string
username
,
string
instruction
,
string
language
,
IReadOnlyList
<
AuthenticationPrompt
>
prompts
)
public
class
SemaphoreLight
:
IDisposable
public
class
SshConnectionException
:
SshException
public
SshConnectionException
(
string
message
,
Exception
inner
)
public
abstract
class
SshData
protected
IDictionary
<
string
,
string
>
ReadExtensionPair
()
protected
Dictionary
<
string
,
string
>
ReadExtensionPair
()
public
class
SshDataStream
:
MemoryStream
public
ushort
ReadUInt16
()
public
class
SshIdentificationEventArgs
:
EventArgs
public
SshIdentification
SshIdentification
{
get
; }
public
SshIdentificationEventArgs
(
SshIdentification
sshIdentification
)
Renci.SshNet.Connection
public
sealed
class
SshIdentification
public
string
Comments
{
get
; }
public
string
ProtocolVersion
{
get
; }
public
string
SoftwareVersion
{
get
; }
public
SshIdentification
(
string
protocolVersion
,
string
softwareVersion
)
public
SshIdentification
(
string
protocolVersion
,
string
softwareVersion
,
string
comments
)
Renci.SshNet.Messages
public
abstract
class
Message
:
SshData
public
abstract
string
MessageName
{
get
; }
public
abstract
byte
MessageNumber
{
get
; }
public
sealed
class
MessageAttribute
:
Attribute
Renci.SshNet.Security
public
class
DsaKey
:
Key
,
IDisposable
public
DsaKey
()
public
DsaKey
(
SshKeyData
publicKeyData
)
public
class
EcdsaKey
:
Key
,
IDisposable
public
EcdsaKey
()
public
EcdsaKey
(
SshKeyData
publicKeyData
)
public
class
ED25519Key
:
Key
,
IDisposable
public
ED25519Key
()
public
ED25519Key
(
SshKeyData
publicKeyData
)
public
ED25519Key
(
byte
[]
pk
,
byte
[]
sk
)
public
interface
IKeyExchange
:
IDisposable
void
Start
(
Session
session
,
KeyExchangeInitMessage
message
)
void
Start
(
Session
session
,
KeyExchangeInitMessage
message
,
bool
sendClientInitMessage
)
public
abstract
class
Key
protected
BigInteger
[]
_privateKey
protected
Key
(
byte
[]
data
)
public
abstract
class
KeyExchange
:
Algorithm
,
IKeyExchange
,
IDisposable
public
virtual
void
Start
(
Session
session
,
KeyExchangeInitMessage
message
)
public
virtual
void
Start
(
Session
session
,
KeyExchangeInitMessage
message
,
bool
sendClientInitMessage
)
public
class
KeyHostAlgorithm
:
HostAlgorithm
public
KeyHostAlgorithm
(
string
name
,
Key
key
,
byte
[]
data
)
public
KeyHostAlgorithm
(
string
name
,
Key
key
,
byte
[]
data
,
DigitalSignature
digitalSignature
)
public
class
RsaKey
:
Key
,
IDisposable
public
RsaKey
()
public
RsaKey
(
SshKeyData
publicKeyData
)
public
sealed
class
SshKeyData
:
SshData
public
BigInteger
[]
Keys
{
get
; }
public
string
Name
{
get
; }
public
SshKeyData
(
byte
[]
data
)
public
SshKeyData
(
string
name
,
BigInteger
[]
keys
)
Renci.SshNet.Security.Cryptography.Ciphers
public
sealed
class
AesCipher
:
BlockCipher
,
IDisposable
public
AesCipher
(
byte
[]
key
,
CipherMode
mode
,
CipherPadding
padding
)
public
AesCipher
(
byte
[]
key
,
byte
[]
iv
,
AesCipherMode
mode
,
bool
pkcs7Padding
=
false
)
public
void
Dispose
(
bool
disposing
)
public
void
Dispose
()
public
enum
AesCipherMode
CBC
=
1
CFB
=
4
CTR
=
6
CTS
=
5
ECB
=
2
OFB
=
3