6. SSH Status Codes

 

This chapter has tables that show the status codes for the following SSH clients: SSH2, SSH-ADD2, SSH-KEYGEN, SSH-CMPCLIENT, SSH-CERTTOOL, SSH-CERTVIEW, SCP2, and SFTP2.

 

SSH Client Status Codes

The following table shows the new status codes for the following SSH clients: SSH2, SSH-ADD2, SSH-KEYGEN, SSH-CMPCLIENT, SSH-CERTTOOL and SSH-CERTVIEW clients.  These codes are implemented in MultiNet V5.4 and up.

To enable these status code instead of using the pre-MultiNet V5.4 codes, the logical name MULTINET_SSH_NEW_STATUS_CODES must be defined system-wide

Error Code

Error Name

Description

0C1F8044

AGENTBADPASS

Invalid password entered

0C1F804C

AGENTERROR

General error

0C1F806A

AGENTNOAGENT

No agent is available

0C1F8072

AGENTNOFILE

Private key is unreadable

0C1F807A

AGENTNOID

Key not not found in authentication agent

0C1F83F1

AGENTOK

Successful operation by agent

0C1F8082

AUTHCANCEL

Authentication cancelled by user

0C1F803C

AUTHFAIL

Authentication failed

0C1F808A

CERT12ENCOD

Certificate PKCS#12 encoding failed

0C1F8092

CERT12SAVE

Failed to save PKCS#12 package

0C1F809A

CERTBADSTATUS

Bad status returned

0C1F80A2

CERTCANTSETPUB

Failed to set public key

0C1F80AA

CERTERROR

Certificate error

0C1F80B2

CERTNO10SIGN

No PKCS#10 requests signed

0C1F80C2

CERTNOSER

No serial number supplied

0C1F80CA

CERTNOVAL12OBJ

No objects to store in PKCS#12 package

0C1F80D2

CERTPRVKEYGEN

Failed to generate private key

0C1F80DA

CERTPRVKEYREAD

Failed to read private key

0C1F80E2

CERTPRVKEYWRT

Failed to write private key

0C1F80EA

CERTUNDEF

Undefined error

0C1F80F2

CERTWRTFILEB64

failed to write base64 file

0C1F80FA

COMPERR

Compression error

0C1F8102

CONNECTFAIL

Connection failed

0C1F80BA

CONNNOTALLOWED

Connection not allowed

0C1F810A

DISCONBYAPP

Session disconnected by application

0C1F8112

E2BIG

Arg list too long

0C1F811A

EABANDONED

Owner cannot release resource

0C1F8122

EACCES

Permission denied

0C1F812A

EADDRINUSE

Address already in use

0C1F8132

EADDRNOTAVAIL

Can't assign requested address

0C1F813A

EAFNOSUPPORT

Address family not supported

0C1F8142

EAGAIN

No more processes

0C1F814A

EALIGN

Alignment error

0C1F8152

EALREADY

Operation already in progress

0C1F815A

EBADCAT

Bad message catalogue format

0C1F8162

EBADF

Bad file number

0C1F816A

EBADMSG

Corrupted message detected

0C1F8172

EBUSY

Mount device busy

0C1F817A

ECANCELED

Operation canceled

0C1F8182

ECHILD

No children

0C1F818A

ECONNABORTED

Software caused connection abort

0C1F8192

ECONNREFUSED

Connection refused

0C1F819A

ECONNRESET

Connection reset by peer

0C1F81A2

EDEADLK

Resource deadlock avoided

0C1F81AA

EDESTADDRREQ

Destination address required

0C1F81B2

EDOM

Math argument

0C1F81BA

EDQUOT

Disk quota exceeded

0C1F81C2

EEXIST

File exists

0C1F81CA

EFAIL

Cannot start operation

0C1F81D2

EFAULT

Bad address

0C1F81DA

EFBIG

File too large

0C1F81E2

EFTYPE

Inappropriate operation for file type

0C1F81EA

EHOSTDOWN

Host is down

0C1F81F2

EHOSTUNREACH

No route to host

0C1F81FA

EIDRM

Identifier removed

0C1F8202

EILSEQ

Illegal byte sequence

0C1F820A

EINPROG

Asynchronous operation in progress

0C1F8212

EINPROGRESS

Operation now in progress

0C1F821A

EINTR

Interrupted system call

0C1F8222

EINVAL

Invalid argument

0C1F822A

EIO

I/O processing error

0C1F8232

EISCONN

Socket is already connected

0C1F823A

EISDIR

Is a directory

0C1F8242

ELOOP

Too many levels of symbolic links

0C1F824A

EMFILE

Too many open files

0C1F8252

EMLINK

Too many links

0C1F825A

EMSGSIZE

Message too long

0C1F8262

ENAMETOOLONG

File name too long

0C1F826A

ENETDOWN

Network is down

0C1F8272

ENETRESET

Network dropped connection on reset

0C1F827A

ENETUNREACH

Network is unreachable

0C1F8282

ENFILE

File table overflow

0C1F828A

ENOBUFS

No buffer space available

0C1F8292

ENODEV

No such device

0C1F829A

ENOENT

No such file or directory

0C1F82A2

ENOEXEC

Exec format error

0C1F82AA

ENOLCK

No locks available

0C1F82B2

ENOMEM

Not enough core

0C1F82BA

ENOMSG

No message of desired type

0C1F82C2

ENOPROTOOPT

Protocol not available

0C1F82CA

ENOSPC

No space left on device

0C1F82D2

ENOSYS

Function not implemented

0C1F82DA

ENOTBLK

Block device required

0C1F82E2

ENOTCONN

Socket is not connected

0C1F82EA

ENOTDIR

Not a directory

0C1F82F2

ENOTEMPTY

Directory not empty

0C1F82FA

ENOTSOCK

Socket operation on non-socket

0C1F8302

ENOTSUP

Function not implemented

0C1F830A

ENOTTY

Not a typewriter

0C1F8312

ENWAIT

No waiting processes

0C1F831A

ENXIO

No such device or address

0C1F8322

EOPNOTSUPP

Operation not supported on socket

0C1F832A

EPERM

Not owner

0C1F8332

EPFNOSUPPORT

Protocol family not supported

0C1F833A

EPIPE

Broken pipe

0C1F8342

EPROCLIM

Too many processes

0C1F834A

EPROTONOSUPPORT

Protocol not supported

0C1F8352

EPROTOTYPE

Protocol wrong type for socket

0C1F835A

ERANGE

Result too large

0C1F8362

EREMOTE

Too many levels of remote in path

0C1F836A

EROFS

Read-only file system

0C1F8372

ESHUTDOWN

Can't send after socket shutdown

0C1F837A

ESOCKTNOSUPPORT

Socket type not supported

0C1F8382

ESPIPE

Illegal seek

0C1F838A

ESRCH

No such process

0C1F8392

ESTALE

Stale NFS file handle

0C1F839A

ETIMEDOUT

Connection timed out

0C1F83A2

ETOOMANYREFS

Too many references: can't splice

0C1F83AA

ETXTBSY

Text file busy

0C1F83B2

EUSERS

Too many users

0C1F83BA

EWOULDBLOCK

Operation would block processing to complete

0C1F83C2

EXDEV

Cross-device link

0C1F8014

EXECERR

Subprocess execution error

0C1F800C

FATALERR

Fatal error

0C1F805A

HOSTNOTALLOW

Host not allowed to connect

0C1F8024

ILLUSER

Illegal username

0C1F801C

KEYEXFAILED

Key exchange failed

0C1F802C

KEYNOTVER

Key not verified

0C1F8034

MACERR

MAC error

0C1F8062

NOMOREMETH

No more authentication methods

0C1F83CA

PROTERR

Protocol error

0C1F83D2

PROTNOTSUP

Protocol not supported

0C1F83DA

SRVNOTAVAIL

Service not available

0C1F83E9

SUCCESS

Successful completion

0C1F8052

TOOMANYCONN

Too many connections

0C1F83E2

UNDEFDISCONCODE

Undefined disconnect reason

 

SFTP2 Client Status Codes

The following table shows the status codes for the SFTP2 file transfer client.

Error Code

Error Name

Description

0C1F8092

BAD_BUFSIZE

BUFFER_SIZE cannot be less than 512

0C1F809A

BAD_CONCUR

Concurrent requests requires an argument greater than zero

0C1F807A

BAD_DEBUG

Debug value is out of range

0C1F804A

BAD_DEST

Invalid destination specification

0C1F802A

BAD_PORT_NUM

Port specification is bad or out of range

0C1F8022

BAD_QUALIFIER

Unrecognized command qualifier

0C1F803A

BAD_SOURCE

Invalid source specification

0C1F8082

BAD_TRANSLATE

Bad combination of values for /TRANSLATE_VMS

0C1F800C

CHILD_DIED

SSH2 child process died unexpectedly

0C1F8062

CONNECTION_ERR

Unable to establish or maintain connection to remote system

0C1F805A

DEST_NOT_DIR

Destination is not a directory

0C1F8018

FILE_OVERWRITTEN

Existing file overwritten

0C1F8014

INTERNAL_ERROR

SFTP2 Fatal internal error

0C1F8032

MISSING_DEST

Destination file specification is missing

0C1F8072

NO_PERMISSION

Permission denied

0C1F806A

NO_SUCH_FILE

No such file

0C1F8052

PROTO_ERR

Protocol errors

0C1F8042

SOURCE_NOT_AVAIL

Unable to open source file

0C1F80A1

SUCCESS 

Successful completion

0C1F808A

TRANSFER_ERR

Error transferring file

 

SCP2 Client Error Codes

The following table shows the status codes for the SCP2 file transfer client:

Error Code

Error Name

Description

0C1F809A

BAD_BUFSIZE

BUFFER_SIZE cannot be less than 512

0C1F80A2

BAD_CONCUR

Concurrent requests requires an argument greater than zero

0C1F8082

BAD_DEBUG

Debug value is out of range

0C1F8052

BAD_DEST

Invalid destination specification

0C1F80AA

BAD_OFFSET

Bad offset for READOFFSET or WRITEOFFSET

0C1F8032

BAD_PORT_NUM

Port specification is bad or out of range

0C1F802A

BAD_QUALIFIER

Unrecognized command qualifier

0C1F8042

BAD_SOURCE

Invalid source specification

0C1F808A

BAD_TRANSLATE

Bad combination of values for /TRANSLATE_VMS

0C1F800C

CHILD_DIED

SSH2 child process died unexpectedly

0C1F806A

CONNECTION_ERR

Unable to establish or maintain connection to remote system

0C1F8062

DEST_NOT_DIR

Destination is not a directory

0C1F8018

FILE_OVERWRITTEN

Existing file overwritten

0C1F8014

INTERNAL_ERROR

SCP2 Fatal internal error

0C1F803A

MISSING_DEST

Destination file specification is missing

0C1F807A

NO_PERM 

Permission denied

0C1F8020

NO_PERMISSION

Permission denied

0C1F8072

NO_SUCH_FILE

No such file

0C1F805A

PROTO_ERR

Protocol errors

0C1F804A

SOURCE_NOT_AVAIL

Unable to open source file

0C1F80B1

SUCCESS 

Successful completion

0C1F8092

TRANSFER_ERR

Error transferring file