2025.1.0
27 Oct 25
Toggle Dropdown
Version 2025
2025.1.0
27 Oct 25
2025.0.0
18 Apr 25
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
Compare to version...
with 2025.0.0
Toggle Dropdown
Version 2025
2025.1.0
27 Oct 25
2025.0.0
18 Apr 25
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
Download Package
Open in NuGet
<
PackageReference
Include
=
"SSH.NET"
Version
=
"2025.1.0"
/>
API Differences between 2025.1.0 and 2025.0.0
37
Additions
4
Removals
Renci.SshNet
public
class
ConnectionInfo
:
IConnectionInfoInternal
,
IConnectionInfo
public
ILoggerFactory
LoggerFactory
{
get
;
set
; }
public
interface
ISftpClient
:
IBaseClient
,
IDisposable
Task
DownloadFileAsync
(
string
path
,
Stream
output
,
CancellationToken
cancellationToken
=
default
)
Task
<
SftpFileAttributes
>
GetAttributesAsync
(
string
path
,
CancellationToken
cancellationToken
)
Task
UploadFileAsync
(
Stream
input
,
string
path
,
CancellationToken
cancellationToken
=
default
)
public
sealed
class
Session
:
ISession
,
IDisposable
public
Message
ClientInitMessage
{
get
; }
public
KeyExchangeInitMessage
ClientInitMessage
{
get
; }
public
ILoggerFactory
SessionLoggerFactory
{
get
; }
protected
virtual
void
Dispose
(
bool
disposing
)
public
class
SftpClient
:
BaseClient
,
ISftpClient
,
IBaseClient
,
IDisposable
public
Task
DownloadFileAsync
(
string
path
,
Stream
output
,
CancellationToken
cancellationToken
=
default
)
public
Task
<
SftpFileAttributes
>
GetAttributesAsync
(
string
path
,
CancellationToken
cancellationToken
)
public
Task
UploadFileAsync
(
Stream
input
,
string
path
,
CancellationToken
cancellationToken
=
default
)
public
sealed
class
Shell
:
IDisposable
protected
virtual
void
Dispose
(
bool
disposing
)
public
sealed
class
ShellStream
:
Stream
public
void
ChangeWindowSize
(
uint
columns
,
uint
rows
,
uint
width
,
uint
height
)
public
sealed
class
SshCommand
:
IDisposable
protected
virtual
void
Dispose
(
bool
disposing
)
Renci.SshNet.Common
public
class
SftpException
:
SshException
public
StatusCode
StatusCode
{
get
; }
public
SftpException
(
StatusCode
statusCode
)
public
SftpException
(
StatusCode
statusCode
,
string
message
)
public
SftpException
(
StatusCode
statusCode
,
string
message
,
Exception
innerException
)
protected
SftpException
(
SerializationInfo
info
,
StreamingContext
context
)
public
class
SftpPathNotFoundException
:
SftpException
public
string
Path
{
get
; }
public
SftpPathNotFoundException
(
string
message
,
string
path
)
public
SftpPathNotFoundException
(
string
message
,
string
path
,
Exception
innerException
)
Renci.SshNet.Security
public
class
KeyExchangeDiffieHellman
:
KeyExchange
public
KeyExchangeDiffieHellman
(
string
name
,
DHParameters
parameters
,
HashAlgorithmName
hashAlgorithm
)
public
class
KeyExchangeDiffieHellmanGroupExchange
:
KeyExchange
public
KeyExchangeDiffieHellmanGroupExchange
(
string
name
,
HashAlgorithmName
hashAlgorithm
)
public
KeyExchangeDiffieHellmanGroupExchange
(
string
name
,
HashAlgorithmName
hashAlgorithm
,
uint
minimumGroupSize
,
uint
preferredGroupSize
,
uint
maximumGroupSize
)
Renci.SshNet.Sftp
public
sealed
class
SftpFileAttributes
public
bool
IsGroupIDBitSet
{
get
;
set
; }
public
bool
IsStickyBitSet
{
get
;
set
; }
public
bool
IsUIDBitSet
{
get
;
set
; }
public
enum
StatusCode
BadMessage
=
5
ConnectionLost
=
7
Eof
=
1
Failure
=
4
NoConnection
=
6
NoSuchFile
=
2
Ok
=
0
OperationUnsupported
=
8
PermissionDenied
=
3