Skip to content

Instantly share code, notes, and snippets.

@gnachman
Created January 8, 2019 07:08
Show Gist options
  • Save gnachman/352da57d455cb0943f5e06607511bda8 to your computer and use it in GitHub Desktop.
Save gnachman/352da57d455cb0943f5e06607511bda8 to your computer and use it in GitHub Desktop.
[libssh2] 1.110621 Conn: Connection Established - ID: 0/0 win: 0/2097152 pack: 140630114205696/4295000064
[libssh2] 1.110646 Conn: starting request(exec) on channel 0/0, message=scp -f '~/test.txt'
=> libssh2_transport_write plain (18 bytes)
0000: 62 00 00 00 00 00 00 00 04 65 78 65 63 01 00 00 : b........exec...
0010: 00 14 : ..
=> libssh2_transport_write plain2 (20 bytes)
0000: 73 63 70 20 2D 66 20 27 7E 2F 74 65 73 74 2E 74 : scp -f '~/test.t
0010: 78 74 27 00 : xt'.
[libssh2] 1.110690 Socket: Sent 80/80 bytes at 0x7fe74da7a260
=> libssh2_transport_write send() (80 bytes)
0000: 0D 6A E8 12 72 D1 F9 B6 BF D1 73 AC 6E 1A C8 C3 : .j?.r?????s?n.??
0010: F2 7B 19 1E A0 72 F2 E8 5E E0 89 F8 DA 78 EF D7 : ?{..?r??^?.??x??
0020: 71 29 69 F6 95 79 AB C4 50 5C 86 17 B2 1A 7E 29 : q)i?.y??P\..?.~)
0030: 9A 0A 09 69 34 7A B5 37 3A 98 04 E0 6F 04 6A 49 : ...i4z?7:..?o.jI
0040: 39 03 16 C5 A0 E5 7F 2D BB 2E 57 E5 57 23 71 B6 : 9..Š?.-?.W?W#q?
[libssh2] 1.110708 Transport: Looking for packet of type: 99
[libssh2] 1.110711 Transport: Looking for packet of type: 100
[libssh2] 1.110716 Failure Event: -37 - Would block requesting SCP startup
[libssh2] 1.112595 Transport: Looking for packet of type: 99
[libssh2] 1.112609 Transport: Looking for packet of type: 100
[libssh2] 1.112622 Socket: Recved 112/16384 bytes to 0x7fe74da76220+0
=> libssh2_transport_read() raw (112 bytes)
0000: 08 2E 37 5F F3 7B 43 11 1A 09 55 59 7A 95 9C 4F : ..7_?{C...UYz..O
0010: E2 85 8A 38 E2 8C 86 C8 08 28 97 B7 B5 58 99 92 : ?..8?..?.(.??X..
0020: 1E A6 6A 9D E7 25 5D 3D 78 F8 66 00 B2 D5 4B 6C : .?j.?%]=x?f.??Kl
0030: E8 4C 71 91 F9 56 E9 DB 6B 95 55 E7 00 25 FE 5F : ?Lq.?V??k.U?.%?_
0040: CB 22 6B A8 69 DF E3 DE C6 CF 06 FC 68 43 3B 48 : ?"k?i?????.?hC;H
0050: 11 7A 6A F0 8A E9 91 46 40 26 43 FE 8D 2A D0 1C : .zj?.?.F@&C?.*?.
0060: 19 2F 49 1D 69 AB E7 67 2F 54 9B 45 C4 64 33 FD : ./I.i??g/T.E?d3?
=> libssh2_transport_read() plain (9 bytes)
0000: 5D 00 00 00 00 00 20 00 00 : ]..... ..
[libssh2] 1.112672 Transport: Packet type 93 received, length=9
[libssh2] 1.112676 Conn: Window adjust for channel 0/0, adding 2097152 bytes, new window_size=140630116270080
=> libssh2_transport_read() plain (5 bytes)
0000: 63 00 00 00 00 : c....
[libssh2] 1.112693 Transport: Packet type 99 received, length=5
[libssh2] 1.112697 Transport: Looking for packet of type: 99
[libssh2] 1.112700 SCP: Sending initial wakeup
[libssh2] 1.112733 Conn: Writing 1 bytes on channel 0/0, stream #0
[libssh2] 1.112742 Conn: Sending 1 bytes on channel 0/0, stream_id=0
=> libssh2_transport_write plain (9 bytes)
0000: 5E 00 00 00 00 00 00 00 01 : ^........
=> libssh2_transport_write plain2 (1 bytes)
0000: 00 : .
[libssh2] 1.112798 Socket: Sent 64/64 bytes at 0x7fe74da7a260
=> libssh2_transport_write send() (64 bytes)
0000: C2 21 FF B2 F2 FC E3 87 6E BD C4 5E 64 AB A7 7E : ?!?????.n??^d??~
0010: F4 F7 28 7C 5D EA 21 45 F3 C6 4D 40 88 AA 58 92 : ??(|]?!E??M@.?X.
0020: 3E 37 93 C7 2C FE E4 D1 17 BF E9 60 BF 70 35 EC : >7.?,???.??`?p5?
0030: 66 4B 81 76 5F 1E 11 27 E6 D7 E8 45 6C 3F 77 30 : fK.v_..'???El?w0
[libssh2] 1.112814 Conn: channel_read() wants 1 bytes from channel 0/0 stream #0
[libssh2] 1.112818 Failure Event: -37 - would block
[libssh2] 1.112821 Failure Event: -37 - Would block waiting for SCP response
[libssh2] 1.124781 Conn: channel_read() wants 1 bytes from channel 0/0 stream #0
[libssh2] 1.124813 Socket: Recved 96/16384 bytes to 0x7fe74da76220+0
=> libssh2_transport_read() raw (96 bytes)
0000: 6A A9 73 1B 00 AD 89 CD 29 D9 2C DD 13 95 30 F3 : j?s..?.?)?,?..0?
0010: 0D 47 01 51 3C 36 02 BE CC B6 F2 49 FA AA 0C 63 : .G.Q<6.?̶?I??.c
0020: 03 04 8A BB E0 02 0D 21 6C 13 C1 BA 3D 92 CC 6A : ...??..!l.??=.?j
0030: 42 AD E6 38 BA 41 8C 20 74 98 19 0F B8 7E 9B B9 : B??8?A. t...?~.?
0040: A4 1F DC 8D E4 37 8A FF 5F 8C 58 6C 17 BA EC 9A : ?.?.?7.?_.Xl.??.
0050: EE 01 2B E6 13 EB 36 C8 E9 CA CE C8 AD AF 99 85 : ?.+?.?6????ȭ?..
=> libssh2_transport_read() plain (53 bytes)
0000: 5E 00 00 00 00 00 00 00 2C 01 73 63 70 3A 20 7E : ^.......,.scp: ~
0010: 2F 74 65 73 74 2E 74 78 74 3A 20 4E 6F 20 73 75 : /test.txt: No su
0020: 63 68 20 66 69 6C 65 20 6F 72 20 64 69 72 65 63 : ch file or direc
0030: 74 6F 72 79 0A : tory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment