Open
Description
Hi,
On one of our servers, we can successfully connect to the given server via "normal" SSH but for some reason it doesn't work with phpseclib. The issue occurs only on one of our servers. On other servers, with the same versions for the OS and sshd, the connection via phpseclib runs flawlessly.
Here is the NET_SSH2_LOGGING output:
(fsockopen took 0.1194s)
-> (network: 0.0001)
00000000 53:48:2d:32:2e:30:2d:70:68:70:73:65:63:6c:69:62 SH-2.0-phpseclib
00000010 5f:33:2e:30:20:28:6f:70:65:6e:73:73:6c:2c:20:62 _3.0 (openssl, b
00000020 63:6d:61:74:68:29:0d:0a cmath)..
<- (network: 0.1281)
00000000 53:48:2d:32:2e:30:2d:4f:70:65:6e:53:53:48:5f:38 SH-2.0-OpenSSH_8
00000010 2e:30:0d:0a .0..
-> NET_SSH2_MSG_KEXINIT (since last: 0.0128, network: 0s)
00000000 74:e8:71:ce:31:ca:50:46:25:06:eb:7d:9a:d4:2a:ab t.q.1.PF%..}..*.
00000010 00:00:01:a4:63:75:72:76:65:32:35:35:31:39:2d:73 ....curve25519-s
00000020 68:61:32:35:36:2c:63:75:72:76:65:32:35:35:31:39 ha256,curve25519
00000030 2d:73:68:61:32:35:36:40:6c:69:62:73:73:68:2e:6f -sha256@libssh.o
00000040 72:67:2c:65:63:64:68:2d:73:68:61:32:2d:6e:69:73 rg,ecdh-sha2-nis
00000050 74:70:32:35:36:2c:65:63:64:68:2d:73:68:61:32:2d tp256,ecdh-sha2-
00000060 6e:69:73:74:70:33:38:34:2c:65:63:64:68:2d:73:68 nistp384,ecdh-sh
00000070 61:32:2d:6e:69:73:74:70:35:32:31:2c:64:69:66:66 a2-nistp521,diff
00000080 69:65:2d:68:65:6c:6c:6d:61:6e:2d:67:72:6f:75:70 ie-hellman-group
00000090 2d:65:78:63:68:61:6e:67:65:2d:73:68:61:32:35:36 -exchange-sha256
000000a0 2c:64:69:66:66:69:65:2d:68:65:6c:6c:6d:61:6e:2d ,diffie-hellman-
000000b0 67:72:6f:75:70:2d:65:78:63:68:61:6e:67:65:2d:73 group-exchange-s
000000c0 68:61:31:2c:64:69:66:66:69:65:2d:68:65:6c:6c:6d ha1,diffie-hellm
000000d0 61:6e:2d:67:72:6f:75:70:31:34:2d:73:68:61:32:35 an-group14-sha25
000000e0 36:2c:64:69:66:66:69:65:2d:68:65:6c:6c:6d:61:6e 6,diffie-hellman
000000f0 2d:67:72:6f:75:70:31:34:2d:73:68:61:31:2c:64:69 -group14-sha1,di
00000100 66:66:69:65:2d:68:65:6c:6c:6d:61:6e:2d:67:72:6f ffie-hellman-gro
00000110 75:70:31:35:2d:73:68:61:35:31:32:2c:64:69:66:66 up15-sha512,diff
00000120 69:65:2d:68:65:6c:6c:6d:61:6e:2d:67:72:6f:75:70 ie-hellman-group
00000130 31:36:2d:73:68:61:35:31:32:2c:64:69:66:66:69:65 16-sha512,diffie
00000140 2d:68:65:6c:6c:6d:61:6e:2d:67:72:6f:75:70:31:37 -hellman-group17
00000150 2d:73:68:61:35:31:32:2c:64:69:66:66:69:65:2d:68 -sha512,diffie-h
00000160 65:6c:6c:6d:61:6e:2d:67:72:6f:75:70:31:38:2d:73 ellman-group18-s
00000170 68:61:35:31:32:2c:64:69:66:66:69:65:2d:68:65:6c ha512,diffie-hel
00000180 6c:6d:61:6e:2d:67:72:6f:75:70:31:2d:73:68:61:31 lman-group1-sha1
00000190 2c:65:78:74:2d:69:6e:66:6f:2d:63:2c:6b:65:78:2d ,ext-info-c,kex-
000001a0 73:74:72:69:63:74:2d:63:2d:76:30:30:40:6f:70:65 strict-c-v00@ope
000001b0 6e:73:73:68:2e:63:6f:6d:00:00:00:71:73:73:68:2d nssh.com...qssh-
000001c0 65:64:32:35:35:31:39:2c:65:63:64:73:61:2d:73:68 ed25519,ecdsa-sh
000001d0 61:32:2d:6e:69:73:74:70:32:35:36:2c:65:63:64:73 a2-nistp256,ecds
000001e0 61:2d:73:68:61:32:2d:6e:69:73:74:70:33:38:34:2c a-sha2-nistp384,
000001f0 65:63:64:73:61:2d:73:68:61:32:2d:6e:69:73:74:70 ecdsa-sha2-nistp
00000200 35:32:31:2c:72:73:61:2d:73:68:61:32:2d:32:35:36 521,rsa-sha2-256
00000210 2c:72:73:61:2d:73:68:61:32:2d:35:31:32:2c:73:73 ,rsa-sha2-512,ss
00000220 68:2d:72:73:61:2c:73:73:68:2d:64:73:73:00:00:01 h-rsa,ssh-dss...
00000230 35:61:65:73:31:32:38:2d:67:63:6d:40:6f:70:65:6e 5aes128-gcm@open
00000240 73:73:68:2e:63:6f:6d:2c:61:65:73:32:35:36:2d:67 ssh.com,aes256-g
00000250 63:6d:40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:61 cm@openssh.com,a
00000260 65:73:31:32:38:2d:63:74:72:2c:61:65:73:31:39:32 es128-ctr,aes192
00000270 2d:63:74:72:2c:61:65:73:32:35:36:2d:63:74:72:2c -ctr,aes256-ctr,
00000280 61:65:73:31:32:38:2d:63:62:63:2c:61:65:73:31:39 aes128-cbc,aes19
00000290 32:2d:63:62:63:2c:61:65:73:32:35:36:2d:63:62:63 2-cbc,aes256-cbc
000002a0 2c:62:6c:6f:77:66:69:73:68:2d:63:74:72:2c:62:6c ,blowfish-ctr,bl
000002b0 6f:77:66:69:73:68:2d:63:62:63:2c:33:64:65:73:2d owfish-cbc,3des-
000002c0 63:74:72:2c:33:64:65:73:2d:63:62:63:2c:74:77:6f ctr,3des-cbc,two
000002d0 66:69:73:68:31:32:38:2d:63:74:72:2c:74:77:6f:66 fish128-ctr,twof
000002e0 69:73:68:31:39:32:2d:63:74:72:2c:74:77:6f:66:69 ish192-ctr,twofi
000002f0 73:68:32:35:36:2d:63:74:72:2c:74:77:6f:66:69:73 sh256-ctr,twofis
00000300 68:31:32:38:2d:63:62:63:2c:74:77:6f:66:69:73:68 h128-cbc,twofish
00000310 31:39:32:2d:63:62:63:2c:74:77:6f:66:69:73:68:32 192-cbc,twofish2
00000320 35:36:2d:63:62:63:2c:74:77:6f:66:69:73:68:2d:63 56-cbc,twofish-c
00000330 62:63:2c:61:72:63:66:6f:75:72:32:35:36:2c:61:72 bc,arcfour256,ar
00000340 63:66:6f:75:72:31:32:38:2c:63:68:61:63:68:61:32 cfour128,chacha2
00000350 30:2d:70:6f:6c:79:31:33:30:35:40:6f:70:65:6e:73 0-poly1305@opens
00000360 73:68:2e:63:6f:6d:00:00:01:35:61:65:73:31:32:38 sh.com...5aes128
00000370 2d:67:63:6d:40:6f:70:65:6e:73:73:68:2e:63:6f:6d -gcm@openssh.com
00000380 2c:61:65:73:32:35:36:2d:67:63:6d:40:6f:70:65:6e ,aes256-gcm@open
00000390 73:73:68:2e:63:6f:6d:2c:61:65:73:31:32:38:2d:63 ssh.com,aes128-c
000003a0 74:72:2c:61:65:73:31:39:32:2d:63:74:72:2c:61:65 tr,aes192-ctr,ae
000003b0 73:32:35:36:2d:63:74:72:2c:61:65:73:31:32:38:2d s256-ctr,aes128-
000003c0 63:62:63:2c:61:65:73:31:39:32:2d:63:62:63:2c:61 cbc,aes192-cbc,a
000003d0 65:73:32:35:36:2d:63:62:63:2c:62:6c:6f:77:66:69 es256-cbc,blowfi
000003e0 73:68:2d:63:74:72:2c:62:6c:6f:77:66:69:73:68:2d sh-ctr,blowfish-
000003f0 63:62:63:2c:33:64:65:73:2d:63:74:72:2c:33:64:65 cbc,3des-ctr,3de
00000400 73:2d:63:62:63:2c:74:77:6f:66:69:73:68:31:32:38 s-cbc,twofish128
00000410 2d:63:74:72:2c:74:77:6f:66:69:73:68:31:39:32:2d -ctr,twofish192-
00000420 63:74:72:2c:74:77:6f:66:69:73:68:32:35:36:2d:63 ctr,twofish256-c
00000430 74:72:2c:74:77:6f:66:69:73:68:31:32:38:2d:63:62 tr,twofish128-cb
00000440 63:2c:74:77:6f:66:69:73:68:31:39:32:2d:63:62:63 c,twofish192-cbc
00000450 2c:74:77:6f:66:69:73:68:32:35:36:2d:63:62:63:2c ,twofish256-cbc,
00000460 74:77:6f:66:69:73:68:2d:63:62:63:2c:61:72:63:66 twofish-cbc,arcf
00000470 6f:75:72:32:35:36:2c:61:72:63:66:6f:75:72:31:32 our256,arcfour12
00000480 38:2c:63:68:61:63:68:61:32:30:2d:70:6f:6c:79:31 8,chacha20-poly1
00000490 33:30:35:40:6f:70:65:6e:73:73:68:2e:63:6f:6d:00 305@openssh.com.
000004a0 00:00:f7:68:6d:61:63:2d:73:68:61:32:2d:32:35:36 ...hmac-sha2-256
000004b0 2d:65:74:6d:40:6f:70:65:6e:73:73:68:2e:63:6f:6d -etm@openssh.com
000004c0 2c:68:6d:61:63:2d:73:68:61:32:2d:35:31:32:2d:65 ,hmac-sha2-512-e
000004d0 74:6d:40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:68 tm@openssh.com,h
000004e0 6d:61:63:2d:73:68:61:31:2d:65:74:6d:40:6f:70:65 mac-sha1-etm@ope
000004f0 6e:73:73:68:2e:63:6f:6d:2c:68:6d:61:63:2d:73:68 nssh.com,hmac-sh
00000500 61:32:2d:32:35:36:2c:68:6d:61:63:2d:73:68:61:32 a2-256,hmac-sha2
00000510 2d:35:31:32:2c:68:6d:61:63:2d:73:68:61:31:2d:39 -512,hmac-sha1-9
00000520 36:2c:68:6d:61:63:2d:73:68:61:31:2c:68:6d:61:63 6,hmac-sha1,hmac
00000530 2d:6d:64:35:2d:39:36:2c:68:6d:61:63:2d:6d:64:35 -md5-96,hmac-md5
00000540 2c:75:6d:61:63:2d:36:34:2d:65:74:6d:40:6f:70:65 ,umac-64-etm@ope
00000550 6e:73:73:68:2e:63:6f:6d:2c:75:6d:61:63:2d:31:32 nssh.com,umac-12
00000560 38:2d:65:74:6d:40:6f:70:65:6e:73:73:68:2e:63:6f 8-etm@openssh.co
00000570 6d:2c:75:6d:61:63:2d:36:34:40:6f:70:65:6e:73:73 m,umac-64@openss
00000580 68:2e:63:6f:6d:2c:75:6d:61:63:2d:31:32:38:40:6f h.com,umac-128@o
00000590 70:65:6e:73:73:68:2e:63:6f:6d:00:00:00:f7:68:6d penssh.com....hm
000005a0 61:63:2d:73:68:61:32:2d:32:35:36:2d:65:74:6d:40 ac-sha2-256-etm@
000005b0 6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:68:6d:61:63 openssh.com,hmac
000005c0 2d:73:68:61:32:2d:35:31:32:2d:65:74:6d:40:6f:70 -sha2-512-etm@op
000005d0 65:6e:73:73:68:2e:63:6f:6d:2c:68:6d:61:63:2d:73 enssh.com,hmac-s
000005e0 68:61:31:2d:65:74:6d:40:6f:70:65:6e:73:73:68:2e ha1-etm@openssh.
000005f0 63:6f:6d:2c:68:6d:61:63:2d:73:68:61:32:2d:32:35 com,hmac-sha2-25
00000600 36:2c:68:6d:61:63:2d:73:68:61:32:2d:35:31:32:2c 6,hmac-sha2-512,
00000610 68:6d:61:63:2d:73:68:61:31:2d:39:36:2c:68:6d:61 hmac-sha1-96,hma
00000620 63:2d:73:68:61:31:2c:68:6d:61:63:2d:6d:64:35:2d c-sha1,hmac-md5-
00000630 39:36:2c:68:6d:61:63:2d:6d:64:35:2c:75:6d:61:63 96,hmac-md5,umac
00000640 2d:36:34:2d:65:74:6d:40:6f:70:65:6e:73:73:68:2e -64-etm@openssh.
00000650 63:6f:6d:2c:75:6d:61:63:2d:31:32:38:2d:65:74:6d com,umac-128-etm
00000660 40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:75:6d:61 @openssh.com,uma
00000670 63:2d:36:34:40:6f:70:65:6e:73:73:68:2e:63:6f:6d c-64@openssh.com
00000680 2c:75:6d:61:63:2d:31:32:38:40:6f:70:65:6e:73:73 ,umac-128@openss
00000690 68:2e:63:6f:6d:00:00:00:1a:6e:6f:6e:65:2c:7a:6c h.com....none,zl
000006a0 69:62:40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:7a ib@openssh.com,z
000006b0 6c:69:62:00:00:00:1a:6e:6f:6e:65:2c:7a:6c:69:62 lib....none,zlib
000006c0 40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:7a:6c:69 @openssh.com,zli
000006d0 62:00:00:00:00:00:00:00:00:00:00:00:00:00 b.............
<- NET_SSH2_MSG_KEXINIT (since last: 0.1063, network: 0.1062s)
00000000 cb:60:d0:70:73:b2:79:dd:cd:28:30:e7:16:8b:65:fe .`.ps.y..(0...e.
00000010 00:00:01:42:63:75:72:76:65:32:35:35:31:39:2d:73 ...Bcurve25519-s
00000020 68:61:32:35:36:2c:63:75:72:76:65:32:35:35:31:39 ha256,curve25519
00000030 2d:73:68:61:32:35:36:40:6c:69:62:73:73:68:2e:6f -sha256@libssh.o
00000040 72:67:2c:65:63:64:68:2d:73:68:61:32:2d:6e:69:73 rg,ecdh-sha2-nis
00000050 74:70:32:35:36:2c:65:63:64:68:2d:73:68:61:32:2d tp256,ecdh-sha2-
00000060 6e:69:73:74:70:33:38:34:2c:65:63:64:68:2d:73:68 nistp384,ecdh-sh
00000070 61:32:2d:6e:69:73:74:70:35:32:31:2c:64:69:66:66 a2-nistp521,diff
00000080 69:65:2d:68:65:6c:6c:6d:61:6e:2d:67:72:6f:75:70 ie-hellman-group
00000090 2d:65:78:63:68:61:6e:67:65:2d:73:68:61:32:35:36 -exchange-sha256
000000a0 2c:64:69:66:66:69:65:2d:68:65:6c:6c:6d:61:6e:2d ,diffie-hellman-
000000b0 67:72:6f:75:70:31:34:2d:73:68:61:32:35:36:2c:64 group14-sha256,d
000000c0 69:66:66:69:65:2d:68:65:6c:6c:6d:61:6e:2d:67:72 iffie-hellman-gr
000000d0 6f:75:70:31:36:2d:73:68:61:35:31:32:2c:64:69:66 oup16-sha512,dif
000000e0 66:69:65:2d:68:65:6c:6c:6d:61:6e:2d:67:72:6f:75 fie-hellman-grou
000000f0 70:31:38:2d:73:68:61:35:31:32:2c:64:69:66:66:69 p18-sha512,diffi
00000100 65:2d:68:65:6c:6c:6d:61:6e:2d:67:72:6f:75:70:2d e-hellman-group-
00000110 65:78:63:68:61:6e:67:65:2d:73:68:61:31:2c:64:69 exchange-sha1,di
00000120 66:66:69:65:2d:68:65:6c:6c:6d:61:6e:2d:67:72:6f ffie-hellman-gro
00000130 75:70:31:34:2d:73:68:61:31:2c:6b:65:78:2d:73:74 up14-sha1,kex-st
00000140 72:69:63:74:2d:73:2d:76:30:30:40:6f:70:65:6e:73 rict-s-v00@opens
00000150 73:68:2e:63:6f:6d:00:00:00:41:72:73:61:2d:73:68 sh.com...Arsa-sh
00000160 61:32:2d:35:31:32:2c:72:73:61:2d:73:68:61:32:2d a2-512,rsa-sha2-
00000170 32:35:36:2c:73:73:68:2d:72:73:61:2c:65:63:64:73 256,ssh-rsa,ecds
00000180 61:2d:73:68:61:32:2d:6e:69:73:74:70:32:35:36:2c a-sha2-nistp256,
00000190 73:73:68:2d:65:64:32:35:35:31:39:00:00:00:77:61 ssh-ed25519...wa
000001a0 65:73:32:35:36:2d:67:63:6d:40:6f:70:65:6e:73:73 es256-gcm@openss
000001b0 68:2e:63:6f:6d:2c:63:68:61:63:68:61:32:30:2d:70 h.com,chacha20-p
000001c0 6f:6c:79:31:33:30:35:40:6f:70:65:6e:73:73:68:2e oly1305@openssh.
000001d0 63:6f:6d:2c:61:65:73:32:35:36:2d:63:74:72:2c:61 com,aes256-ctr,a
000001e0 65:73:32:35:36:2d:63:62:63:2c:61:65:73:31:32:38 es256-cbc,aes128
000001f0 2d:67:63:6d:40:6f:70:65:6e:73:73:68:2e:63:6f:6d -gcm@openssh.com
00000200 2c:61:65:73:31:32:38:2d:63:74:72:2c:61:65:73:31 ,aes128-ctr,aes1
00000210 32:38:2d:63:62:63:00:00:00:77:61:65:73:32:35:36 28-cbc...waes256
00000220 2d:67:63:6d:40:6f:70:65:6e:73:73:68:2e:63:6f:6d -gcm@openssh.com
00000230 2c:63:68:61:63:68:61:32:30:2d:70:6f:6c:79:31:33 ,chacha20-poly13
00000240 30:35:40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:61 05@openssh.com,a
00000250 65:73:32:35:36:2d:63:74:72:2c:61:65:73:32:35:36 es256-ctr,aes256
00000260 2d:63:62:63:2c:61:65:73:31:32:38:2d:67:63:6d:40 -cbc,aes128-gcm@
00000270 6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:61:65:73:31 openssh.com,aes1
00000280 32:38:2d:63:74:72:2c:61:65:73:31:32:38:2d:63:62 28-ctr,aes128-cb
00000290 63:00:00:00:a9:68:6d:61:63:2d:73:68:61:32:2d:32 c....hmac-sha2-2
000002a0 35:36:2d:65:74:6d:40:6f:70:65:6e:73:73:68:2e:63 56-etm@openssh.c
000002b0 6f:6d:2c:68:6d:61:63:2d:73:68:61:31:2d:65:74:6d om,hmac-sha1-etm
000002c0 40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:75:6d:61 @openssh.com,uma
000002d0 63:2d:31:32:38:2d:65:74:6d:40:6f:70:65:6e:73:73 c-128-etm@openss
000002e0 68:2e:63:6f:6d:2c:68:6d:61:63:2d:73:68:61:32:2d h.com,hmac-sha2-
000002f0 35:31:32:2d:65:74:6d:40:6f:70:65:6e:73:73:68:2e 512-etm@openssh.
00000300 63:6f:6d:2c:68:6d:61:63:2d:73:68:61:32:2d:32:35 com,hmac-sha2-25
00000310 36:2c:68:6d:61:63:2d:73:68:61:31:2c:75:6d:61:63 6,hmac-sha1,umac
00000320 2d:31:32:38:40:6f:70:65:6e:73:73:68:2e:63:6f:6d -128@openssh.com
00000330 2c:68:6d:61:63:2d:73:68:61:32:2d:35:31:32:00:00 ,hmac-sha2-512..
00000340 00:a9:68:6d:61:63:2d:73:68:61:32:2d:32:35:36:2d ..hmac-sha2-256-
00000350 65:74:6d:40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c etm@openssh.com,
00000360 68:6d:61:63:2d:73:68:61:31:2d:65:74:6d:40:6f:70 hmac-sha1-etm@op
00000370 65:6e:73:73:68:2e:63:6f:6d:2c:75:6d:61:63:2d:31 enssh.com,umac-1
00000380 32:38:2d:65:74:6d:40:6f:70:65:6e:73:73:68:2e:63 28-etm@openssh.c
00000390 6f:6d:2c:68:6d:61:63:2d:73:68:61:32:2d:35:31:32 om,hmac-sha2-512
000003a0 2d:65:74:6d:40:6f:70:65:6e:73:73:68:2e:63:6f:6d -etm@openssh.com
000003b0 2c:68:6d:61:63:2d:73:68:61:32:2d:32:35:36:2c:68 ,hmac-sha2-256,h
000003c0 6d:61:63:2d:73:68:61:31:2c:75:6d:61:63:2d:31:32 mac-sha1,umac-12
000003d0 38:40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:68:6d 8@openssh.com,hm
000003e0 61:63:2d:73:68:61:32:2d:35:31:32:00:00:00:15:6e ac-sha2-512....n
000003f0 6f:6e:65:2c:7a:6c:69:62:40:6f:70:65:6e:73:73:68 one,zlib@openssh
00000400 2e:63:6f:6d:00:00:00:15:6e:6f:6e:65:2c:7a:6c:69 .com....none,zli
00000410 62:40:6f:70:65:6e:73:73:68:2e:63:6f:6d:00:00:00 b@openssh.com...
00000420 00:00:00:00:00:00:00:00:00:00 ..........
-> NET_SSH2_MSG_KEX_ECDH_INIT (since last: 0.0859, network: 0s)
00000000 00:00:00:20:84:4a:ba:68:18:ea:ed:d0:1d:9b:49:4b ... .J.h......IK
00000010 28:e3:32:f8:2d:3a:19:87:11:be:c3:fd:71:83:21:eb (.2.-:......q.!.
00000020 a3:1c:78:35 ..x5
<- NET_SSH2_MSG_KEX_ECDH_REPLY (since last: 0.125, network: 0.125s)
00000000 00:00:00:33:00:00:00:0b:73:73:68:2d:65:64:32:35 ...3....ssh-ed25
00000010 35:31:39:00:00:00:20:73:4f:a6:07:2d:6c:da:45:d2 519... sO..-l.E.
00000020 77:7f:e7:c1:79:91:97:69:ca:b2:12:54:5b:19:24:6d w...y..i...T[.$m
00000030 ed:89:dc:75:c9:e6:7b:00:00:00:20:80:54:8b:2d:67 ...u..{... .T.-g
00000040 8b:6d:e3:b7:30:85:15:b6:0f:fc:43:49:7e:14:13:5f .m..0.....CI~.._
00000050 c5:62:a9:f7:2e:22:2d:35:21:be:6e:00:00:00:53:00 .b..."-5!.n...S.
00000060 00:00:0b:73:73:68:2d:65:64:32:35:35:31:39:00:00 ...ssh-ed25519..
00000070 00:40:8e:cf:b9:ba:2e:92:c5:21:b6:6a:af:b6:52:4c .@.......!.j..RL
00000080 b9:58:20:3a:3b:b6:94:2a:69:40:57:3e:d9:13:c8:e8 .X :;..*i@W>....
00000090 b9:e9:00:ec:4b:58:fd:19:3e:dc:70:95:72:92:bd:25 ....KX..>.p.r..%
000000a0 1c:88:d8:18:a4:b6:aa:a2:09:75:b5:84:9d:0d:48:70 .........u....Hp
000000b0 ab:01 ..
-> NET_SSH2_MSG_NEWKEYS (since last: 0.0651, network: 0s)
<- NET_SSH2_MSG_NEWKEYS (since last: 0, network: 0s)
-> NET_SSH2_MSG_SERVICE_REQUEST (since last: 0.0002, network: 0s)
00000000 00:00:00:0c:73:73:68:2d:75:73:65:72:61:75:74:68 ....ssh-userauth
<- NET_SSH2_MSG_EXT_INFO (since last: 0.0001, network: 0s)
00000000 00:00:00:01:00:00:00:0f:73:65:72:76:65:72:2d:73 ........server-s
00000010 69:67:2d:61:6c:67:73:00:00:00:71:73:73:68:2d:65 ig-algs...qssh-e
00000020 64:32:35:35:31:39:2c:73:73:68:2d:72:73:61:2c:72 d25519,ssh-rsa,r
00000030 73:61:2d:73:68:61:32:2d:32:35:36:2c:72:73:61:2d sa-sha2-256,rsa-
00000040 73:68:61:32:2d:35:31:32:2c:73:73:68:2d:64:73:73 sha2-512,ssh-dss
00000050 2c:65:63:64:73:61:2d:73:68:61:32:2d:6e:69:73:74 ,ecdsa-sha2-nist
00000060 70:32:35:36:2c:65:63:64:73:61:2d:73:68:61:32:2d p256,ecdsa-sha2-
00000070 6e:69:73:74:70:33:38:34:2c:65:63:64:73:61:2d:73 nistp384,ecdsa-s
00000080 68:61:32:2d:6e:69:73:74:70:35:32:31 ha2-nistp521
<- NET_SSH2_MSG_SERVICE_ACCEPT (since last: 0.2787, network: 0.2786s)
00000000 00:00:00:0c:73:73:68:2d:75:73:65:72:61:75:74:68 ....ssh-userauth
-> NET_SSH2_MSG_USERAUTH_REQUEST (since last: 0.0002, network: 0s)
00000000 00:00:00:04:72:6f:6f:74:00:00:00:0e:73:73:68:2d ....root....ssh-
00000010 63:6f:6e:6e:65:63:74:69:6f:6e:00:00:00:04:6e:6f connection....no
00000020 6e:65 ne
<- NET_SSH2_MSG_USERAUTH_FAILURE (since last: 0.1201, network: 0.12s)
00000000 00:00:00:26:70:75:62:6c:69:63:6b:65:79:2c:67:73 ...&publickey,gs
00000010 73:61:70:69:2d:6b:65:79:65:78:2c:67:73:73:61:70 sapi-keyex,gssap
00000020 69:2d:77:69:74:68:2d:6d:69:63:00 i-with-mic.
-> NET_SSH2_MSG_USERAUTH_REQUEST (since last: 0.0025, network: 0s)
00000000 00:00:00:04:72:6f:6f:74:00:00:00:0e:73:73:68:2d ....root....ssh-
00000010 63:6f:6e:6e:65:63:74:69:6f:6e:00:00:00:09:70:75 connection....pu
00000020 62:6c:69:63:6b:65:79:00:00:00:00:0c:72:73:61:2d blickey.....rsa-
00000030 73:68:61:32:2d:32:35:36:00:00:01:15:00:00:00:07 sha2-256........
00000040 73:73:68:2d:72:73:61:00:00:00:01:23:00:00:01:01 ssh-rsa....#....
00000050 00:ca:39:e2:92:64:56:7a:dc:55:8a:52:49:99:51:2f ..9..dVz.U.RI.Q/
00000060 c1:dd:fa:82:ab:8f:66:f2:af:a1:2a:4a:c3:f3:0f:26 ......f...*J...&
00000070 d2:ea:cf:a8:b6:c8:fa:76:0f:f5:5f:9f:dc:e5:2e:f7 .......v.._.....
00000080 69:7c:00:3e:eb:38:2d:86:45:48:37:12:e6:e1:dd:c9 i|.>.8-.EH7.....
00000090 75:ad:0b:08:db:d9:cf:6c:bb:27:7b:0a:dc:9b:0c:6a u......l.'{....j
000000a0 af:f6:5d:2c:b7:d8:dc:9e:9f:68:4f:00:56:a3:d4:2b ..],.....hO.V..+
000000b0 03:2e:43:4b:88:0d:ab:e1:8f:d7:f5:11:ab:ba:7d:16 ..CK..........}.
000000c0 87:6a:40:e3:de:72:6f:8c:f6:d3:b4:b1:28:8e:8d:87 .j@..ro.....(...
000000d0 7a:af:1c:12:c1:85:22:b5:9d:73:ee:ce:5e:e7:9e:a0 z....."..s..^...
000000e0 0c:ed:b2:42:e4:0b:c4:26:69:fa:da:7d:12:21:3d:c6 ...B...&i..}.!=.
000000f0 8c:63:a6:f2:d7:c3:91:11:ed:c1:5a:df:d8:3d:76:51 .c........Z..=vQ
00000100 76:62:ba:e9:00:5f:1a:b7:c2:12:10:5c:35:55:48:fa vb..._.....\5UH.
00000110 63:26:f1:c7:98:e8:c8:c7:04:ac:e8:74:6f:05:8a:27 c&.........to..'
00000120 d2:16:96:e6:59:19:58:4c:3b:c9:b0:e0:a2:66:6d:4c ....Y.XL;....fmL
00000130 01:b2:78:23:96:86:5b:43:dd:4d:5c:cc:17:fd:8c:d9 ..x#..[C.M\.....
00000140 cb:9a:15:ed:82:05:0d:aa:e4:ee:51:e5:fa:4a:5a:7b ..........Q..JZ{
00000150 99 .
<- NET_SSH2_MSG_USERAUTH_FAILURE (since last: 0.1283, network: 0.1281s)
00000000 00:00:00:26:70:75:62:6c:69:63:6b:65:79:2c:67:73 ...&publickey,gs
00000010 73:61:70:69:2d:6b:65:79:65:78:2c:67:73:73:61:70 sapi-keyex,gssap
00000020 69:2d:77:69:74:68:2d:6d:69:63:00 i-with-mic.
-> NET_SSH2_MSG_USERAUTH_REQUEST (since last: 0.0018, network: 0s)
00000000 00:00:00:04:72:6f:6f:74:00:00:00:0e:73:73:68:2d ....root....ssh-
00000010 63:6f:6e:6e:65:63:74:69:6f:6e:00:00:00:09:70:75 connection....pu
00000020 62:6c:69:63:6b:65:79:00:00:00:00:07:73:73:68:2d blickey.....ssh-
00000030 72:73:61:00:00:01:15:00:00:00:07:73:73:68:2d:72 rsa........ssh-r
00000040 73:61:00:00:00:01:23:00:00:01:01:00:ca:39:e2:92 sa....#......9..
00000050 64:56:7a:dc:55:8a:52:49:99:51:2f:c1:dd:fa:82:ab dVz.U.RI.Q/.....
00000060 8f:66:f2:af:a1:2a:4a:c3:f3:0f:26:d2:ea:cf:a8:b6 .f...*J...&.....
00000070 c8:fa:76:0f:f5:5f:9f:dc:e5:2e:f7:69:7c:00:3e:eb ..v.._.....i|.>.
00000080 38:2d:86:45:48:37:12:e6:e1:dd:c9:75:ad:0b:08:db 8-.EH7.....u....
00000090 d9:cf:6c:bb:27:7b:0a:dc:9b:0c:6a:af:f6:5d:2c:b7 ..l.'{....j..],.
000000a0 d8:dc:9e:9f:68:4f:00:56:a3:d4:2b:03:2e:43:4b:88 ....hO.V..+..CK.
000000b0 0d:ab:e1:8f:d7:f5:11:ab:ba:7d:16:87:6a:40:e3:de .........}..j@..
000000c0 72:6f:8c:f6:d3:b4:b1:28:8e:8d:87:7a:af:1c:12:c1 ro.....(...z....
000000d0 85:22:b5:9d:73:ee:ce:5e:e7:9e:a0:0c:ed:b2:42:e4 ."..s..^......B.
000000e0 0b:c4:26:69:fa:da:7d:12:21:3d:c6:8c:63:a6:f2:d7 ..&i..}.!=..c...
000000f0 c3:91:11:ed:c1:5a:df:d8:3d:76:51:76:62:ba:e9:00 .....Z..=vQvb...
00000100 5f:1a:b7:c2:12:10:5c:35:55:48:fa:63:26:f1:c7:98 _.....\5UH.c&...
00000110 e8:c8:c7:04:ac:e8:74:6f:05:8a:27:d2:16:96:e6:59 ......to..'....Y
00000120 19:58:4c:3b:c9:b0:e0:a2:66:6d:4c:01:b2:78:23:96 .XL;....fmL..x#.
00000130 86:5b:43:dd:4d:5c:cc:17:fd:8c:d9:cb:9a:15:ed:82 .[C.M\..........
00000140 05:0d:aa:e4:ee:51:e5:fa:4a:5a:7b:99 .....Q..JZ{.
<- NET_SSH2_MSG_USERAUTH_FAILURE (since last: 0.1282, network: 0.128s)
00000000 00:00:00:26:70:75:62:6c:69:63:6b:65:79:2c:67:73 ...&publickey,gs
00000010 73:61:70:69:2d:6b:65:79:65:78:2c:67:73:73:61:70 sapi-keyex,gssap
00000020 69:2d:77:69:74:68:2d:6d:69:63:00 i-with-mic.
Here is the output of ssh -v
[root@zeus ~]# ssh -v root@hera.tdnx.net
OpenSSH_8.0p1, OpenSSL 1.1.1k FIPS 25 Mar 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
debug1: re-parsing configuration
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: Connecting to hera.tdnx.net [177.70.4.10] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/id_rsa type 0
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: identity file /root/.ssh/id_xmss type -1
debug1: identity file /root/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.0
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.0
debug1: match: OpenSSH_8.0 pat OpenSSH* compat 0x04000000
debug1: Authenticating to hera.tdnx.net:22 as 'root'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: aes256-gcm@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: aes256-gcm@openssh.com MAC: <implicit> compression: none
debug1: kex: curve25519-sha256 need=32 dh_need=32
debug1: kex: curve25519-sha256 need=32 dh_need=32
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:jLkGnn2VAXynRL4SC5O4wMJUbFsmBvK8fgYW/7gdHyY
debug1: Host 'hera.tdnx.net' is known and matches the ECDSA host key.
debug1: Found key in /root/.ssh/known_hosts:1
debug1: resetting send seqnr 3
debug1: rekey out after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 4294967296 blocks
debug1: Will attempt key: /root/.ssh/id_rsa RSA SHA256:obX7z/Qc8tMBqD/rXM6c03uoQKCP6JUu+vErWhxp3lg
debug1: Will attempt key: /root/.ssh/id_dsa
debug1: Will attempt key: /root/.ssh/id_ecdsa
debug1: Will attempt key: /root/.ssh/id_ed25519
debug1: Will attempt key: /root/.ssh/id_xmss
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more information
No Kerberos credentials available (default cache: KCM:)
debug1: Unspecified GSS failure. Minor code may provide more information
No Kerberos credentials available (default cache: KCM:)
debug1: Next authentication method: publickey
debug1: Offering public key: /root/.ssh/id_rsa RSA SHA256:obX7z/Qc8tMBqD/rXM6c03uoQKCP6JUu+vErWhxp3lg
debug1: Server accepts key: /root/.ssh/id_rsa RSA SHA256:obX7z/Qc8tMBqD/rXM6c03uoQKCP6JUu+vErWhxp3lg
debug1: Authentication succeeded (publickey).
Authenticated to hera.tdnx.net ([177.70.4.10]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /root/.ssh/authorized_keys:9: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /root/.ssh/authorized_keys:9: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending env LC_CTYPE = en_US.UTF-8
Activate the web console with: systemctl enable --now cockpit.socket
Last login: Fri Mar 14 12:32:59 2025 from 23.111.184.26
[root@hera ~]#
We are running version 3.0.43 of phpseclib with PHP 8.2 on Almalinux 8.
Thanks,
Steve Nagy
Metadata
Metadata
Assignees
Labels
No labels