Thread Net::SSH2 mit passwort geschützter public key authentication (9 answers)
Opened by br0tkasten at 2009-12-14 15:47

GwenDragon
 2009-12-16 09:59
#129427 #129427
User since
2005-01-17
14748 Artikel
Admin1
[Homepage]
user image
Die SSH2-Errorcodes sind leider nicht in der Doku beschrieben.
Aber in der SSH2.xs im Abschnitt /* LIBSSH2_ERROR_* values; from 0 continuing negative */
const char* libssh2_error[] = {
zu finden.

Ich schreibe mal die Fehler mit den dazugehörigen Nummern hier rein:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 0     "NONE",
1 "SOCKET_NONE",
2 "BANNER_NONE",
3 "BANNER_SEND",
4 "INVALID_MAC",
5 "KEX_FAILURE",
6 "ALLOC",
7 "SOCKET_SEND",
8 "KEY_EXCHANGE_FAILURE",
9 "TIMEOUT",
10 "HOSTKEY_INIT",
11 "HOSTKEY_SIGN",
12 "DECRYPT",
13 "SOCKET_DISCONNECT",
14 "PROTO",
15 "PASSWORD_EXPIRED",
16 "FILE",
17 "METHOD_NONE",
18 "PUBLICKEY_UNRECOGNIZED",
19 "PUBLICKEY_UNVERIFIED",
20 "CHANNEL_OUTOFORDER",
21 "CHANNEL_FAILURE",
22 "CHANNEL_REQUEST_DENIED",
23 "CHANNEL_UNKNOWN",
24 "CHANNEL_WINDOW_EXCEEDED",
25 "CHANNEL_PACKET_EXCEEDED",
26 "CHANNEL_CLOSED",
27 "CHANNEL_EOF_SENT",
28 "SCP_PROTOCOL",
29 "ZLIB",
30 "SOCKET_TIMEOUT",
31 "SFTP_PROTOCOL",
32 "REQUEST_DENIED",
33 "METHOD_NOT_SUPPORTED",
34 "INVAL",
35 "INVALID_POLL_TYPE",
36 "PUBLICKEY_PROTOCOL",
37 "EAGAIN"


//EDIT: vergessen, dass die Fehlercodes bei 0 anfangen.
Last edited: 2009-12-16 10:08:00 +0100 (CET)

View full thread Net::SSH2 mit passwort geschützter public key authentication