Enum SshFailureReason
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
Why an SSH operation failed.
public enum SshFailureReason
Fields
AgentFailed = 9The SSH agent could not be reached, refused a request, or answered with something unexpected.
AuthenticationFailed = 4User authentication failed.
ChannelClosed = 6A channel was closed or refused.
ConnectFailed = 8The network connection to the server could not be established.
ConnectionClosed = 5The connection was closed, by the peer or because of an error.
HostKeyRejected = 3The server's host key was rejected.
KeyExchangeFailed = 2No common key exchange, cipher, MAC or host key algorithm.
ProtocolError = 1The peer sent data that violates the SSH protocol.
SftpFailed = 11An SFTP request failed with an error status from the server (see
SftpException.Status).Timeout = 7An operation timed out.
TransferFailed = 10A file transfer failed: an SCP transfer that the remote side reported an error in, or broke the protocol of, or an SFTP tree transfer that the remote tree made unsafe (too deep, or a name that would leave the target). A single SFTP request that the server refuses is SftpFailed.
Unknown = 0An unspecified failure.