API Differences between 2024.2.0 and 2011.7.29
829 Additions
212 Removals
Renci.SshNet
-
public abstract class AuthenticationMethod : IAuthenticationMethod
-
public enum AuthenticationResult
-
public abstract class BaseClient : IBaseClient, IDisposable
-
public class CommandAsyncResult : IAsyncResult
-
public class CipherInfo
-
public class ConnectionInfo : IConnectionInfoInternal, IConnectionInfo
- public IDictionary<string, Type> AuthenticationMethods { get; }
- public IDictionary<string, Type> CompressionAlgorithms { get; }
- public IDictionary<string, Type> Encryptions { get; }
- public string ErrorMessage { get; }
- public IDictionary<string, Type> HmacAlgorithms { get; }
- public IList<AuthenticationMethod> AuthenticationMethods { get; }
- public TimeSpan ChannelCloseTimeout { get; set; }
- public IDictionary<string, RequestInfo> ChannelRequests { get; }
- public string ClientVersion { get; }
- public IDictionary<string, Func<Compressor>> CompressionAlgorithms { get; }
- public string CurrentClientCompressionAlgorithm { get; }
- public string CurrentClientEncryption { get; }
- public string CurrentClientHmacAlgorithm { get; }
- public string CurrentHostKeyAlgorithm { get; }
- public string CurrentKeyExchangeAlgorithm { get; }
- public string CurrentServerCompressionAlgorithm { get; }
- public string CurrentServerEncryption { get; }
- public string CurrentServerHmacAlgorithm { get; }
- public Encoding Encoding { get; set; }
- public IDictionary<string, CipherInfo> Encryptions { get; }
- public IDictionary<string, HashInfo> HmacAlgorithms { get; }
- public IDictionary<string, Type> HostKeyAlgorithms { get; }
- public IDictionary<string, Func<byte[], KeyHostAlgorithm>> HostKeyAlgorithms { get; }
- public IDictionary<string, Type> KeyExchangeAlgorithms { get; }
- public IDictionary<string, Func<IKeyExchange>> KeyExchangeAlgorithms { get; }
- public abstract string Name { get; }
- public string ProxyHost { get; }
- public string ProxyPassword { get; }
- public int ProxyPort { get; }
- public ProxyTypes ProxyType { get; }
- public string ProxyUsername { get; }
- protected Session Session { get; }
- public string ServerVersion { get; }
- protected ConnectionInfo(string host, int port, string username)
- public bool Authenticate(Session session)
- protected abstract void OnAuthenticate()
- protected void SendMessage(Message message)
- protected virtual void Session_MessageReceived(object sender, MessageEventArgs<Message> e)
- protected virtual void Session_UserAuthenticationBannerMessageReceived(object sender, MessageEventArgs<BannerMessage> e)
- protected virtual void Session_UserAuthenticationFailureReceived(object sender, MessageEventArgs<FailureMessage> e)
- protected virtual void Session_UserAuthenticationSuccessMessageReceived(object sender, MessageEventArgs<SuccessMessage> e)
- protected void WaitHandle(WaitHandle eventWaitHandle)
- public ConnectionInfo(string host, string username, AuthenticationMethod[] authenticationMethods)
- public ConnectionInfo(string host, int port, string username, AuthenticationMethod[] authenticationMethods)
- public ConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, AuthenticationMethod[] authenticationMethods)
-
public static class Extensions
-
public class ExpectAction
-
public abstract class ForwardedPort : IForwardedPort, IDisposable
-
public class ForwardedPortDynamic : ForwardedPort
-
public class ForwardedPortLocal : ForwardedPort
-
public class ForwardedPortRemote : ForwardedPort
-
public class HashInfo
-
public interface IBaseClient : IDisposable
-
public interface IForwardedPort : IDisposable
-
public interface IPrivateKeySource
-
public interface IRemotePathTransformation
-
public interface ISftpClient : IBaseClient, IDisposable
- uint BufferSize { get; set; }
- TimeSpan OperationTimeout { get; set; }
- int ProtocolVersion { get; }
- string WorkingDirectory { get; }
- void AppendAllLines(string path, IEnumerable<string> contents)
- void AppendAllLines(string path, IEnumerable<string> contents, Encoding encoding)
- void AppendAllText(string path, string contents)
- void AppendAllText(string path, string contents, Encoding encoding)
- StreamWriter AppendText(string path)
- StreamWriter AppendText(string path, Encoding encoding)
- IAsyncResult BeginDownloadFile(string path, Stream output)
- IAsyncResult BeginDownloadFile(string path, Stream output, AsyncCallback asyncCallback)
- IAsyncResult BeginDownloadFile(string path, Stream output, AsyncCallback asyncCallback, object state, Action<ulong> downloadCallback = null)
- IAsyncResult BeginListDirectory(string path, AsyncCallback asyncCallback, object state, Action<int> listCallback = null)
- IAsyncResult BeginSynchronizeDirectories(string sourcePath, string destinationPath, string searchPattern, AsyncCallback asyncCallback, object state)
- IAsyncResult BeginUploadFile(Stream input, string path)
- IAsyncResult BeginUploadFile(Stream input, string path, AsyncCallback asyncCallback)
- IAsyncResult BeginUploadFile(Stream input, string path, AsyncCallback asyncCallback, object state, Action<ulong> uploadCallback = null)
- IAsyncResult BeginUploadFile(Stream input, string path, bool canOverride, AsyncCallback asyncCallback, object state, Action<ulong> uploadCallback = null)
- void ChangeDirectory(string path)
- Task ChangeDirectoryAsync(string path, CancellationToken cancellationToken = default)
- void ChangePermissions(string path, short mode)
- SftpFileStream Create(string path)
- SftpFileStream Create(string path, int bufferSize)
- void CreateDirectory(string path)
- Task CreateDirectoryAsync(string path, CancellationToken cancellationToken = default)
- StreamWriter CreateText(string path)
- StreamWriter CreateText(string path, Encoding encoding)
- void Delete(string path)
- Task DeleteAsync(string path, CancellationToken cancellationToken = default)
- void DeleteDirectory(string path)
- Task DeleteDirectoryAsync(string path, CancellationToken cancellationToken = default)
- void DeleteFile(string path)
- Task DeleteFileAsync(string path, CancellationToken cancellationToken)
- void DownloadFile(string path, Stream output, Action<ulong> downloadCallback = null)
- void EndDownloadFile(IAsyncResult asyncResult)
- IEnumerable<ISftpFile> EndListDirectory(IAsyncResult asyncResult)
- IEnumerable<FileInfo> EndSynchronizeDirectories(IAsyncResult asyncResult)
- void EndUploadFile(IAsyncResult asyncResult)
- bool Exists(string path)
- ISftpFile Get(string path)
- SftpFileAttributes GetAttributes(string path)
- DateTime GetLastAccessTime(string path)
- DateTime GetLastAccessTimeUtc(string path)
- DateTime GetLastWriteTime(string path)
- DateTime GetLastWriteTimeUtc(string path)
- SftpFileSystemInformation GetStatus(string path)
- Task<SftpFileSystemInformation> GetStatusAsync(string path, CancellationToken cancellationToken)
- IEnumerable<ISftpFile> ListDirectory(string path, Action<int> listCallback = null)
- IAsyncEnumerable<ISftpFile> ListDirectoryAsync(string path, CancellationToken cancellationToken)
- SftpFileStream Open(string path, FileMode mode)
- SftpFileStream Open(string path, FileMode mode, FileAccess access)
- Task<SftpFileStream> OpenAsync(string path, FileMode mode, FileAccess access, CancellationToken cancellationToken)
- SftpFileStream OpenRead(string path)
- StreamReader OpenText(string path)
- SftpFileStream OpenWrite(string path)
- byte[] ReadAllBytes(string path)
- string[] ReadAllLines(string path)
- string[] ReadAllLines(string path, Encoding encoding)
- string ReadAllText(string path)
- string ReadAllText(string path, Encoding encoding)
- IEnumerable<string> ReadLines(string path)
- IEnumerable<string> ReadLines(string path, Encoding encoding)
- void RenameFile(string oldPath, string newPath)
- void RenameFile(string oldPath, string newPath, bool isPosix)
- Task RenameFileAsync(string oldPath, string newPath, CancellationToken cancellationToken)
- void SetAttributes(string path, SftpFileAttributes fileAttributes)
- void SetLastAccessTime(string path, DateTime lastAccessTime)
- void SetLastAccessTimeUtc(string path, DateTime lastAccessTimeUtc)
- void SetLastWriteTime(string path, DateTime lastWriteTime)
- void SetLastWriteTimeUtc(string path, DateTime lastWriteTimeUtc)
- void SymbolicLink(string path, string linkPath)
- IEnumerable<FileInfo> SynchronizeDirectories(string sourcePath, string destinationPath, string searchPattern)
- void UploadFile(Stream input, string path, Action<ulong> uploadCallback = null)
- void UploadFile(Stream input, string path, bool canOverride, Action<ulong> uploadCallback = null)
- void WriteAllBytes(string path, byte[] bytes)
- void WriteAllLines(string path, IEnumerable<string> contents)
- void WriteAllLines(string path, IEnumerable<string> contents, Encoding encoding)
- void WriteAllLines(string path, string[] contents)
- void WriteAllLines(string path, string[] contents, Encoding encoding)
- void WriteAllText(string path, string contents)
- void WriteAllText(string path, string contents, Encoding encoding)
-
public interface ISshClient : IBaseClient, IDisposable
- IEnumerable<ForwardedPort> ForwardedPorts { get; }
- void AddForwardedPort(ForwardedPort port)
- SshCommand CreateCommand(string commandText)
- SshCommand CreateCommand(string commandText, Encoding encoding)
- Shell CreateShell(Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModes, int bufferSize)
- Shell CreateShell(Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModes)
- Shell CreateShell(Stream input, Stream output, Stream extendedOutput)
- Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModes, int bufferSize)
- Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModes)
- Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput)
- Shell CreateShellNoTerminal(Stream input, Stream output, Stream extendedOutput, int bufferSize = -1)
- ShellStream CreateShellStream(string terminalName, uint columns, uint rows, uint width, uint height, int bufferSize)
- ShellStream CreateShellStream(string terminalName, uint columns, uint rows, uint width, uint height, int bufferSize, IDictionary<TerminalModes, uint> terminalModeValues)
- ShellStream CreateShellStreamNoTerminal(int bufferSize = -1)
- void RemoveForwardedPort(ForwardedPort port)
- SshCommand RunCommand(string commandText)
-
public class KeyboardInteractiveAuthenticationMethod : AuthenticationMethod, IDisposable
-
public class KeyboardInteractiveConnectionInfo : ConnectionInfo, IDisposable
- public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort)
- public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)
- public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort)
- public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)
- public KeyboardInteractiveConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)
- public KeyboardInteractiveConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)
-
public class NoneConnectionInfo : ConnectionInfo, IDisposable
-
public class NetConfClient : BaseClient
- public bool AutomaticMessageIdHandling { get; set; }
- public XmlDocument ClientCapabilities { get; }
- public TimeSpan OperationTimeout { get; set; }
- public XmlDocument ServerCapabilities { get; }
- public NetConfClient(ConnectionInfo connectionInfo)
- public NetConfClient(string host, int port, string username, string password)
- public NetConfClient(string host, string username, string password)
- public NetConfClient(string host, int port, string username, IPrivateKeySource[] keyFiles)
- public NetConfClient(string host, string username, IPrivateKeySource[] keyFiles)
- public XmlDocument SendCloseRpc()
- public XmlDocument SendReceiveRpc(XmlDocument rpc)
- public XmlDocument SendReceiveRpc(string xml)
-
public class NoneAuthenticationMethod : AuthenticationMethod, IDisposable
-
public class PasswordAuthenticationMethod : AuthenticationMethod, IDisposable
-
public class PasswordConnectionInfo : ConnectionInfo, IDisposable
- public PasswordConnectionInfo(string host, int port, string username, string password, ProxyTypes proxyType, string proxyHost, int proxyPort)
- public PasswordConnectionInfo(string host, int port, string username, string password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)
- public PasswordConnectionInfo(string host, string username, string password, ProxyTypes proxyType, string proxyHost, int proxyPort)
- public PasswordConnectionInfo(string host, string username, string password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)
- public PasswordConnectionInfo(string host, string username, string password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)
- public PasswordConnectionInfo(string host, string username, byte[] password)
- public PasswordConnectionInfo(string host, int port, string username, byte[] password)
- public PasswordConnectionInfo(string host, int port, string username, byte[] password, ProxyTypes proxyType, string proxyHost, int proxyPort)
- public PasswordConnectionInfo(string host, int port, string username, byte[] password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)
- public PasswordConnectionInfo(string host, string username, byte[] password, ProxyTypes proxyType, string proxyHost, int proxyPort)
- public PasswordConnectionInfo(string host, string username, byte[] password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername)
- public PasswordConnectionInfo(string host, string username, byte[] password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)
- public PasswordConnectionInfo(string host, int port, string username, byte[] password, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword)
-
public class PrivateKeyAuthenticationMethod : AuthenticationMethod, IDisposable
-
public class PrivateKeyConnectionInfo : ConnectionInfo, IDisposable
- public ICollection<PrivateKeyFile> KeyFiles { get; }
- public PrivateKeyConnectionInfo(string host, string username, PrivateKeyFile[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, PrivateKeyFile[] keyFiles)
- public ICollection<IPrivateKeySource> KeyFiles { get; }
- public PrivateKeyConnectionInfo(string host, string username, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, IPrivateKeySource[] keyFiles)
-
public class PrivateKeyFile : IPrivateKeySource, IDisposable
-
public enum ProxyTypes
-
public static class RemotePathTransformation
-
public class ScpClient : BaseClient
- public uint BufferSize { get; set; }
- public TimeSpan OperationTimeout { get; set; }
- public IRemotePathTransformation RemotePathTransformation { get; set; }
- public event EventHandler<ScpDownloadEventArgs> Downloading
- public event EventHandler<ScpUploadEventArgs> Uploading
- public ScpClient(ConnectionInfo connectionInfo)
- public ScpClient(string host, int port, string username, string password)
- public ScpClient(string host, string username, string password)
- public ScpClient(string host, int port, string username, IPrivateKeySource[] keyFiles)
- public ScpClient(string host, string username, IPrivateKeySource[] keyFiles)
- public void Download(string filename, FileInfo fileInfo)
- public void Download(string directoryName, DirectoryInfo directoryInfo)
- public void Download(string filename, Stream destination)
- public void Upload(Stream source, string path)
- public void Upload(FileInfo fileInfo, string path)
- public void Upload(DirectoryInfo directoryInfo, string path)
-
public class Session : ISession, IDisposable
-
public class SftpClient : BaseClient, ISftpClient, IBaseClient, IDisposable
- public SftpClient(string host, int port, string username, PrivateKeyFile[] keyFiles)
- public SftpClient(string host, string username, PrivateKeyFile[] keyFiles)
- public SftpClient(string host, int port, string username, IPrivateKeySource[] keyFiles)
- public SftpClient(string host, string username, IPrivateKeySource[] keyFiles)
- public IAsyncResult BeginDownloadFile(string path, Stream output, AsyncCallback asyncCallback, object state)
- public IAsyncResult BeginListDirectory(string path, AsyncCallback asyncCallback, object state)
- public IAsyncResult BeginUploadFile(Stream input, string path, AsyncCallback asyncCallback, object state)
- public IAsyncResult BeginDownloadFile(string path, Stream output)
- public IAsyncResult BeginDownloadFile(string path, Stream output, AsyncCallback asyncCallback)
- public IAsyncResult BeginDownloadFile(string path, Stream output, AsyncCallback asyncCallback, object state, Action<ulong> downloadCallback = null)
- public IAsyncResult BeginListDirectory(string path, AsyncCallback asyncCallback, object state, Action<int> listCallback = null)
- public IAsyncResult BeginSynchronizeDirectories(string sourcePath, string destinationPath, string searchPattern, AsyncCallback asyncCallback, object state)
- public IAsyncResult BeginUploadFile(Stream input, string path)
- public IAsyncResult BeginUploadFile(Stream input, string path, AsyncCallback asyncCallback)
- public IAsyncResult BeginUploadFile(Stream input, string path, AsyncCallback asyncCallback, object state, Action<ulong> uploadCallback = null)
- public IAsyncResult BeginUploadFile(Stream input, string path, bool canOverride, AsyncCallback asyncCallback, object state, Action<ulong> uploadCallback = null)
- public Task ChangeDirectoryAsync(string path, CancellationToken cancellationToken = default)
- public Task CreateDirectoryAsync(string path, CancellationToken cancellationToken = default)
- public Task DeleteAsync(string path, CancellationToken cancellationToken = default)
- public Task DeleteDirectoryAsync(string path, CancellationToken cancellationToken = default)
- public void DownloadFile(string path, Stream output)
- public Task DeleteFileAsync(string path, CancellationToken cancellationToken)
- public void DownloadFile(string path, Stream output, Action<ulong> downloadCallback = null)
- public IEnumerable<SftpFile> EndListDirectory(IAsyncResult asyncResult)
- public IEnumerable<ISftpFile> EndListDirectory(IAsyncResult asyncResult)
- public IEnumerable<FileInfo> EndSynchronizeDirectories(IAsyncResult asyncResult)
- public SftpFile Get(string path)
- public Task<bool> ExistsAsync(string path, CancellationToken cancellationToken = default)
- public ISftpFile Get(string path)
- public Task<ISftpFile> GetAsync(string path, CancellationToken cancellationToken)
- public IEnumerable<SftpFile> ListDirectory(string path)
- public SftpFileSystemInformation GetStatus(string path)
- public Task<SftpFileSystemInformation> GetStatusAsync(string path, CancellationToken cancellationToken)
- public IEnumerable<ISftpFile> ListDirectory(string path, Action<int> listCallback = null)
- public IAsyncEnumerable<ISftpFile> ListDirectoryAsync(string path, CancellationToken cancellationToken)
- public Task<SftpFileStream> OpenAsync(string path, FileMode mode, FileAccess access, CancellationToken cancellationToken)
- public void RenameFile(string oldPath, string newPath, bool isPosix)
- public Task RenameFileAsync(string oldPath, string newPath, CancellationToken cancellationToken)
- public void UploadFile(Stream input, string path)
- public IEnumerable<FileInfo> SynchronizeDirectories(string sourcePath, string destinationPath, string searchPattern)
- public void UploadFile(Stream input, string path, Action<ulong> uploadCallback = null)
- public void UploadFile(Stream input, string path, bool canOverride, Action<ulong> uploadCallback = null)
-
public class ShellStream : Stream
- public bool DataAvailable { get; }
- public event EventHandler<EventArgs> Closed
- public event EventHandler<ShellDataEventArgs> DataReceived
- public event EventHandler<ExceptionEventArgs> ErrorOccurred
- public IAsyncResult BeginExpect(ExpectAction[] expectActions)
- public IAsyncResult BeginExpect(AsyncCallback callback, ExpectAction[] expectActions)
- public IAsyncResult BeginExpect(AsyncCallback callback, object state, ExpectAction[] expectActions)
- public IAsyncResult BeginExpect(TimeSpan timeout, AsyncCallback callback, object state, ExpectAction[] expectActions)
- public IAsyncResult BeginExpect(TimeSpan timeout, int lookback, AsyncCallback callback, object state, ExpectAction[] expectActions)
- public string EndExpect(IAsyncResult asyncResult)
- public void Expect(ExpectAction[] expectActions)
- public void Expect(TimeSpan timeout, ExpectAction[] expectActions)
- public void Expect(TimeSpan timeout, int lookback, ExpectAction[] expectActions)
- public string Expect(string text)
- public string Expect(string text, TimeSpan timeout, int lookback = -1)
- public string Expect(Regex regex)
- public string Expect(Regex regex, TimeSpan timeout, int lookback = -1)
- public string Read()
- public string ReadLine()
- public string ReadLine(TimeSpan timeout)
- public void Write(string text)
- public void WriteLine(string line)
-
public class SshClient : BaseClient, ISshClient, IBaseClient, IDisposable
- public SshClient(string host, int port, string username, PrivateKeyFile[] keyFiles)
- public SshClient(string host, string username, PrivateKeyFile[] keyFiles)
- public T AddForwardedPort<T>(string boundHost, uint boundPort, string connectedHost, uint connectedPort) where T : ForwardedPort
- public T AddForwardedPort<T>(uint boundPort, string connectedHost, uint connectedPort) where T : ForwardedPort
- public SshClient(string host, int port, string username, IPrivateKeySource[] keyFiles)
- public SshClient(string host, string username, IPrivateKeySource[] keyFiles)
- public void AddForwardedPort(ForwardedPort port)
- public Shell CreateShell(Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, string terminalMode, int bufferSize)
- public Shell CreateShell(Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, string terminalMode)
- public Shell CreateShell(Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModes, int bufferSize)
- public Shell CreateShell(Stream input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModes)
- public Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, string terminalMode, int bufferSize)
- public Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, string terminalMode)
- public Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModes, int bufferSize)
- public Shell CreateShell(Encoding encoding, string input, Stream output, Stream extendedOutput, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModes)
- public Shell CreateShellNoTerminal(Stream input, Stream output, Stream extendedOutput, int bufferSize = -1)
- public ShellStream CreateShellStream(string terminalName, uint columns, uint rows, uint width, uint height, int bufferSize)
- public ShellStream CreateShellStream(string terminalName, uint columns, uint rows, uint width, uint height, int bufferSize, IDictionary<TerminalModes, uint> terminalModeValues)
- public ShellStream CreateShellStreamNoTerminal(int bufferSize = -1)
-
public class SshCommand : IDisposable
Renci.SshNet.Abstractions
Renci.SshNet.Common
-
public class ASCIIEncoding : Encoding
-
public abstract class AsyncResult : IAsyncResult
-
public class AuthenticationPasswordChangeEventArgs : AuthenticationEventArgs
-
public class AuthenticationPromptEventArgs : AuthenticationEventArgs
-
public struct BigInteger : IComparable, IFormattable, IComparable<BigInteger>, IEquatable<BigInteger>
-
public class HostKeyEventArgs : EventArgs
-
public class NetConfServerException : SshException
-
public class PipeStream : Stream
-
public class SemaphoreLight
-
public class ProxyException : SshException
-
public class ScpDownloadEventArgs : EventArgs
-
public class ScpException : SshException
-
public class ScpUploadEventArgs : EventArgs
-
public class SftpPathNotFoundException : SshException
-
public class SftpPermissionDeniedException : SshException
-
public class ShellDataEventArgs : EventArgs
-
public class SshAuthenticationException : SshException
-
public class SshConnectionException : SshException
-
public abstract class SshData
- protected virtual int BufferCapacity { get; }
- protected SshDataStream DataStream { get; }
- protected virtual int ZeroReaderIndex { get; }
- protected void LoadBytes(IEnumerable<byte> bytes)
- public void Load(byte[] data, int offset, int count)
- protected BigInteger ReadBigInt()
- protected byte[] ReadBinaryString()
- protected byte[] ReadBinary()
- protected IDictionary<string, string> ReadExtensionPair()
- protected long ReadInt64()
- protected IEnumerable<string> ReadNamesList()
- protected string ReadString()
- protected Dictionary<string, string> ReadExtensionPair()
- protected string[] ReadNamesList()
- protected string ReadString(Encoding encoding = null)
- protected void ResetReader()
- protected void Write(IEnumerable<byte> data)
- protected void Write(byte[] data)
- protected void Write(byte[] buffer, int offset, int count)
- protected void Write(ushort data)
- protected void Write(long data)
- protected void Write(string data, Encoding encoding)
- protected void Write(BigInteger data)
- protected void Write(IEnumerable<string> data)
- protected void Write(string data, Encoding encoding)
- protected void Write(BigInteger data)
- protected void Write(string[] data)
- protected void WriteBinary(byte[] buffer, int offset, int count)
- protected virtual void WriteBytes(SshDataStream stream)
-
public class SshDataStream : MemoryStream
-
public class SshException : Exception
-
public class SshIdentificationEventArgs : EventArgs
-
public class SshOperationTimeoutException : SshException
-
public class SshPassPhraseNullOrEmptyException : SshException
-
public enum TerminalModes
Renci.SshNet.Compression
Renci.SshNet.Connection
Renci.SshNet.Messages
Renci.SshNet.Messages.Authentication
Renci.SshNet.Messages.Connection
Renci.SshNet.Messages.Transport
Renci.SshNet.Security
-
public abstract class Cipher : Algorithm
-
public class CipherAes128Cbc : CipherAesCbc
-
public class CipherAes128Ctr : CipherAesCtr
-
public class CipherAes192Cbc : CipherAesCbc
-
public class CipherAes192Ctr : CipherAesCtr
-
public class CipherAes256Cbc : CipherAesCbc
-
public class CipherAes256Ctr : CipherAesCtr
-
public abstract class CipherAesCbc : Cipher
-
public abstract class CipherAesCtr : Cipher
-
public class CipherBlowfish : Cipher
-
public class CipherCast128Cbc : CipherCastCbc
-
public abstract class CipherCastCbc : Cipher
-
public class CipherDes64Cbc : CipherDesCbc
-
public abstract class CipherDesCbc : Cipher
-
public class CipherSerpent128CBC : CipherSerpentCBC
-
public class CipherSerpent192CBC : CipherSerpentCBC
-
public class CipherSerpent256CBC : CipherSerpentCBC
-
public abstract class CipherSerpentCBC : Cipher
-
public class CipherTripleDes192Cbc : CipherTripleDesCbc
-
public abstract class CipherTripleDesCbc : Cipher
-
public class Certificate
-
public class CertificateHostAlgorithm : KeyHostAlgorithm
- public Certificate Certificate { get; }
- public CertificateHostAlgorithm(string name, Key privateKey, Certificate certificate)
- public CertificateHostAlgorithm(string name, Key privateKey, Certificate certificate, DigitalSignature digitalSignature)
- public CertificateHostAlgorithm(string name, Certificate certificate, IReadOnlyDictionary<string, Func<byte[], KeyHostAlgorithm>> keyAlgorithms)
- public CertificateHostAlgorithm(string name, Certificate certificate, DigitalSignature digitalSignature, IReadOnlyDictionary<string, Func<byte[], KeyHostAlgorithm>> keyAlgorithms)
-
public abstract class CryptoKey
-
public abstract class CryptoPrivateKey : CryptoKey
-
public abstract class CryptoPublicKey : CryptoKey
-
public abstract class HMac : Algorithm, IDisposable
-
public class HMacMD5 : HMac
-
public class HMacSha1 : HMac
-
public class DsaKey : Key, IDisposable
-
public class EcdsaKey : Key, IDisposable
-
public class ED25519Key : Key, IDisposable
-
public abstract class HostAlgorithm
- public abstract byte[] Data { get; }
- public string Name { get; }
- protected HostAlgorithm(string name)
- public abstract byte[] Sign(byte[] data)
- public abstract bool VerifySignature(byte[] data, byte[] signature)
-
public interface IKeyExchange : IDisposable
-
public abstract class Key
-
public abstract class KeyExchange : Algorithm, IKeyExchange, IDisposable
-
public abstract class KeyExchangeDiffieHellman : KeyExchange
-
public class KeyExchangeDiffieHellmanGroupExchangeSha256 : KeyExchangeDiffieHellman
-
public class KeyHostAlgorithm : HostAlgorithm
-
public class RsaKey : Key, IDisposable
-
public sealed class SshKeyData : SshData
Renci.SshNet.Security.Cryptography
-
public abstract class AsymmetricCipher
-
public class CbcMode : ModeBase
-
public class CfbMode : ModeBase
-
public abstract class CipherBase
-
public enum CipherModeEx
-
public class CtrMode : ModeBase
-
public class DesCipher : CipherBase
-
public abstract class BlockCipher : SymmetricCipher
- public byte BlockSize { get; }
- protected BlockCipher(byte[] key, byte blockSize, CipherMode mode, CipherPadding padding)
- public abstract int DecryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
- public abstract int EncryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
-
public abstract class Cipher
- public abstract byte MinimumSize { get; }
- public virtual int TagSize { get; }
- protected Cipher()
- public virtual byte[] Decrypt(byte[] input)
- public abstract byte[] Decrypt(byte[] input, int offset, int length)
- public byte[] Encrypt(byte[] input)
- public abstract byte[] Encrypt(byte[] input, int offset, int length)
-
public abstract class DigitalSignature
- public abstract byte[] CreateSignature(byte[] input)
- public abstract bool VerifySignature(byte[] input, byte[] signature)
- public abstract byte[] Sign(byte[] input)
- public abstract bool Verify(byte[] input, byte[] signature)
-
public class HMAC<T> : KeyedHashAlgorithm where T : HashAlgorithm
-
public class MD5Hash : HashAlgorithm
-
public abstract class ModeBase : CipherBase
-
public class OfbMode : ModeBase
-
public class RSACipher : AsymmetricCipher
-
public class RSADigitalSignature : DigitalSignature
-
public class RSAPrivateKey : RSAPublicKey
-
public class RSAPublicKey
-
public class SHA1Hash : HashAlgorithm
-
public class SHA256Hash : HashAlgorithm
-
public class TripleDesCipher : DesCipher
-
public class DsaDigitalSignature : DigitalSignature, IDisposable
-
public class EcdsaDigitalSignature : DigitalSignature, IDisposable
-
public class ED25519DigitalSignature : DigitalSignature, IDisposable
-
public class RsaDigitalSignature : DigitalSignature, IDisposable
-
public abstract class SymmetricCipher : Cipher
Renci.SshNet.Security.Cryptography.Ciphers
-
public sealed class AesCipher : BlockCipher, IDisposable
-
public enum AesCipherMode
-
public abstract class CipherMode
- protected int _blockSize
- protected BlockCipher Cipher
- protected byte[] IV
- protected CipherMode(byte[] iv)
- public abstract int DecryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
- public abstract int EncryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
-
public abstract class CipherPadding
- protected CipherPadding()
- public byte[] Pad(int blockSize, byte[] input)
- public abstract byte[] Pad(int blockSize, byte[] input, int offset, int length)
- public byte[] Pad(byte[] input, int paddinglength)
- public abstract byte[] Pad(byte[] input, int offset, int length, int paddinglength)
-
public class DesCipher : BlockCipher
-
public sealed class TripleDesCipher : DesCipher
Renci.SshNet.Security.Cryptography.Ciphers.Modes
Renci.SshNet.Security.Cryptography.Ciphers.Paddings
Renci.SshNet.Sftp