FTP & SFTP

  • 04 Jun

    SFTP Error Codes

    https://www.secureblackbox.com/kb/help/ref_err_sftperrorcodes.html

    Copyright www.secureblackbox.comValueDescription
    SSH_ERROR_WRONG_MODE-1 (0xFFFFFFFF)Attempt to call synchronous method in asynchronous mode and vice versa
    SSH_ERROR_OK0 (0x0000)Indicates successful completion of the operation
    SSH_ERROR_EOF1 (0x0001)indicates end-of-file condition;

    • Read: no more data is available in the file;
    • ReadDirectory: no more files are contained in the directory
    SSH_ERROR_NO_SUCH_FILE2 (0x0002)A reference is made to a file which does not exist
    SSH_ERROR_PERMISSION_DENIED3 (0x0003)the authenticated user does not have sufficient permissions to perform the operation
    SSH_ERROR_FAILURE4 (0x0004)An error occurred for which there is no more specific error code defined
    SSH_ERROR_BAD_MESSAGE5 (0x0005)A badly formatted packet or protocol incompatibility is detected
    SSH_ERROR_NO_CONNECTION6 (0x0006)A pseudo-error which indicates that the client has no connection to the server
    SSH_ERROR_CONNECTION_LOST7 (0x0007)A pseudo-error which indicates that the connection to the server has been lost
    SSH_ERROR_OP_UNSUPPORTED8 (0x0008)An attempt was made to perform an operation which is not supported for the server
    SSH_ERROR_INVALID_HANDLE9 (0x0009)The handle value was invalid
    SSH_ERROR_NO_SUCH_PATH10 (0x000A)The file path does not exist or is invalid
    SSH_ERROR_FILE_ALREADY_EXISTS11 (0x000B)The file already exists
    SSH_ERROR_WRITE_PROTECT12 (0x000C)The file is on read only media, or the media is write protected
    SSH_ERROR_NO_MEDIA13 (0x000D)The requested operation can not be completed because there is no media available in the drive
    SSH_ERROR_NO_SPACE_ON_FILESYSTEM14 (0x000E)The requested operation cannot be completed because there is no free space on the filesystem
    SSH_ERROR_QUOTA_EXCEEDED15 (0x000F)The operation cannot be completed because it would exceed the user’s storage quota
    SSH_ERROR_UNKNOWN_PRINCIPAL16 (0x0010)A principal referenced by the request (either the ‘owner’,‘group’, or ‘who’ field of an ACL), was unknown
    SSH_ERROR_LOCK_CONFLICT17 (0x0011)The file could not be opened because it is locked by another process
    SSH_ERROR_DIR_NOT_EMPTY18 (0x0012)The directory is not empty
    SSH_ERROR_NOT_A_DIRECTORY19 (0x0013)The specified file is not a directory
    SSH_ERROR_INVALID_FILENAME20 (0x0014)The filename is not valid
    SSH_ERROR_LINK_LOOP21 (0x0015)Too many symbolic links encountered
    SSH_ERROR_CANNOT_DELETE22 (0x0016)The file cannot be deleted. One possible reason is that the advisory READONLY attribute-bit is set
    SSH_ERROR_INVALID_PARAMETER23 (0x0017)On of the parameters was out of range, or the parameters specified cannot be used together
    SSH_ERROR_FILE_IS_A_DIRECTORY24 (0x0018)The specified file was a directory in a context where a directory cannot be used
    SSH_ERROR_BYTE_RANGE_LOCK_CONFLICT25 (0x0019)A read or write operation failed because another process’s mandatory byte-range lock overlaps with the request
    SSH_ERROR_BYTE_RANGE_LOCK_REFUSED26 (0x001A)A request for a byte range lock was refused
    SSH_ERROR_DELETE_PENDING27 (0x001B)An operation was attempted on a file for which a delete operation is pending
    SSH_ERROR_FILE_CORRUPT28 (0x001C)The file is corrupt; an filesystem integrity check should be run
    SSH_ERROR_OWNER_INVALID29 (0x001D)The principal specified can not be assigned as an owner of a file
    SSH_ERROR_GROUP_INVALID30 (0x001E)The principal specified can not be assigned as the primary group of a file
    SSH_ERROR_UNSUPPORTED_VERSION100 (0x0064)Sets of supported by client and server versions has no intersection
    SSH_ERROR_INVALID_PACKET101 (0x0065)Invalid packet was received
    SSH_ERROR_TUNNEL_ERROR102 (0x0066)Error is on the SSH-protocol level. The connection is closed because of SSH error
    SSH_ERROR_CONNECTION_CLOSED103 (0x0067)Connection is closed
    SSH_ERROR_UNSUPPORTED_ACTION104 (0x0068)
    SSH_ERROR_NOT_A_TEXT_HANDLE105 (0x0069)
    SSH_ERROR_CANCELLED_BY_USER106 (0x006A)
    By Limagito Error FTP & SFTP , ,
  • 04 Jun

    SSH Tunnel Error Codes

    https://www.secureblackbox.com/kb/help/ref_err_sshtunnelerrorcodes.html

    Copyright www.secureblackbox.comValueDescription
    SSH_TUNNEL_ERROR_FORWARD_DISALLOWED1 (0x0001)Forwarding is unallowable
    SSH_TUNNEL_ERROR_SERVER_ERROR2 (0x0002)Tunnel opening is rejected
    SSH_TUNNEL_ERROR_ADMINISTRATIVELY_PROHIBITED1 (0x0001)Forwarding is unallowable
    SSH_TUNNEL_ERROR_CONNECT_FAILED2 (0x0002)Tunnel opening is rejected
    SSH_TUNNEL_ERROR_UNKNOWN_CHANNEL_TYPE3 (0x0003)Type of requested tunnel is unknown
    SSH_TUNNEL_ERROR_RESOURCE_SHORTAGE4 (0x0004)Resource became unavailable while trying to connect
    SSH_TUNNEL_ERROR_ALREADY_CONNECTED700 (0x02BC)Tunnel is already opened
    SSH_TUNNEL_ERROR_NOT_BOUND_TO_SSH_CLASS701 (0x02BD)Tunnel is not bound to SSH-class (via TElSSHTunnelList object)
    SSH_TUNNEL_ERROR_SSH_NOT_CONNECTED702 (0x02BE)Attempt to open tunnel while SSH-connection is not established
    SSH_TUNNEL_ERROR_UNSUPPORTED_BY_SSH_VERSION703 (0x02BF)Tunnel is not supported by SSH-version (for example SFTPv1)
    SSH_TUNNEL_ERROR_UNSUPPORTED_ACTION704 (0x02C0)Attempt to perform unsupported action
    SSH_TUNNEL_ERROR_OPEN_FAILED705 (0x02C1)Tunnel opening failed
  • 04 Jun

    SSH Error Codes

    https://www.secureblackbox.com/kb/help/ref_err_ssherrorcodes.html

    Copyright www.secureblackbox.comValueDescription
    ERROR_SSH_INVALID_IDENTIFICATION_STRING1 (0x0001)Invalid identification string of SSH-protocol
    ERROR_SSH_INVALID_VERSION2 (0x0002)Invalid or unsupported version
    ERROR_SSH_INVALID_MESSAGE_CODE3 (0x0003)Unsupported message code
    ERROR_SSH_INVALID_CRC4 (0x0004)Message CRC is invalid
    ERROR_SSH_INVALID_PACKET_TYPE5 (0x0005)Invalid (unknown) packet type
    ERROR_SSH_INVALID_PACKET6 (0x0006)Packet composed incorrectly
    ERROR_SSH_UNSUPPORTED_CIPHER7 (0x0007)There is no cipher supported by both: client and server
    ERROR_SSH_UNSUPPORTED_AUTH_TYPE8 (0x0008)Authentication type is unsupported
    ERROR_SSH_INVALID_RSA_CHALLENGE9 (0x0009)The wrong signature during public key-authentication
    ERROR_SSH_AUTHENTICATION_FAILED10 (0x000A)Authentication failed. There could be wrong password or something else
    ERROR_SSH_INVALID_PACKET_SIZE11 (0x000B)The packet is too large
    ERROR_SSH_HOST_NOT_ALLOWED_TO_CONNECT101 (0x0065)Connection was rejected by remote host
    ERROR_SSH_PROTOCOL_ERROR102 (0x0066)Another protocol error
    ERROR_SSH_KEY_EXCHANGE_FAILED103 (0x0067)Key exchange failed
    ERROR_SSH_INVALID_MAC105 (0x0069)Received packet has invalid MAC
    ERROR_SSH_COMPRESSION_ERROR106 (0x006A)Compression or decompression error
    ERROR_SSH_SERVICE_NOT_AVAILABLE107 (0x006B)Service (sftp, shell, etc.) is not available
    ERROR_SSH_PROTOCOL_VERSION_NOT_SUPPORTED108 (0x006C)Version is not supported
    ERROR_SSH_HOST_KEY_NOT_VERIFIABLE109 (0x006D)Server key can not be verified
    ERROR_SSH_CONNECTION_LOST110 (0x006E)Connection was lost by some reason
    ERROR_SSH_APPLICATION_CLOSED111 (0x006F)User on the other side of connection closed application that led to disconnection
    ERROR_SSH_TOO_MANY_CONNECTIONS112 (0x0070)The server is overladen
    ERROR_SSH_AUTH_CANCELLED_BY_USER113 (0x0071)User tired of invalid password entering
    ERROR_SSH_NO_MORE_AUTH_METHODS_AVAILABLE114 (0x0072)There are no more methods for user authentication
    ERROR_SSH_ILLEGAL_USERNAME115 (0x0073)There is no user with specified username on the server
    ERROR_SSH_INTERNAL_ERROR200 (0x00C8)Internal error of implementation
    ERROR_SSH_NOT_CONNECTED222 (0x00DE)There is no connection but user tries to send data
    ERROR_SSH_CONNECTION_CANCELLED_BY_USER501 (0x01F5)The connection was cancelled by user
    ERROR_SSH_FORWARD_DISALLOWED502 (0x01F6)SSH forward disallowed
    ERROR_SSH_ONKEYVALIDATE_NOT_ASSIGNED503 (0x01F7)The event handler for OnKeyValidate event, has not been specified by the application
    ERROR_SSH_GSSKEX_SERVER_ERROR_MESSAGE601 (0x0259)GSS KEX server error.
    ERROR_SSH_GSSAPI_SERVER_ERROR_MESSAGE603 (0x025B)GSS API server error.
    ERROR_SSH_TCP_CONNECTION_FAILED24577 (0x6001)TCP connection failed. This error code defined in SBSSHForwarding unit.
    ERROR_SSH_TCP_BIND_FAILED24578 (0x6002)TCP bind failed. This error code defined in SBSSHForwarding unit.
    By Limagito Error FTP & SFTP , ,
1 4 5 6 7 8 9