Thanks
:: [libssh2] 1.048000 SCP: Opening channel for SCP receive
:: [libssh2] 1.048000 Conn: Allocated new channel ID#0
:: [libssh2] 1.048000 Conn: Opening Channel - win 262144 pack 32768
=> libssh2_transport_write plain (24 bytes)
0000: 5A 00 00 00 07 73 65 73 73 69 6F 6E 00 00 00 00 : Z....session....
0010: 00 04 00 00 00 00 80 00 : ........
:: [libssh2] 1.048000 Socket: Sent 68/68 bytes at 0x62f5da0
=> libssh2_transport_write send() (68 bytes)
0000: 2E 57 9C 57 B3 E2 42 DF C8 9E 52 C0 5D D8 0B 83 : .W.W..B...R.]...
0010: 43 80 7E 5B 57 88 D7 06 2E E2 2F C4 81 F3 EC A0 : C.~[W...../.....
0020: AE 94 8F 54 19 6F B7 40 04 51 FD F3 6F 15 01 52 : ...T.o.@.Q..o..R
0030: 08 53 5B 83 C5 38 1D 69 EA 36 00 A4 25 E5 07 A1 : .S[..8.i.6..%...
0040: 44 6E 9C EE : Dn..
:: [libssh2] 1.050000 Transport: Looking for packet of type: 91
:: [libssh2] 1.050000 Transport: Looking for packet of type: 92
:: [libssh2] 1.056000 Socket: Recved 52/16384 bytes to 0x62f1d78+0
=> libssh2_transport_read() raw (52 bytes)
0000: CC 55 97 7B D1 14 FC E8 BA 1B FD E1 20 DC 51 20 : .U.{........ .Q
0010: CE CE 4E A6 E0 14 3F A0 A3 7E CC EE C4 A2 D7 A2 : ..N...?..~......
0020: 7C E2 EE 73 E3 A1 06 B0 CF AD C1 43 F8 DA 17 56 : |..s.......C...V
0030: AE 93 49 EB : ..I.
=> libssh2_transport_read() plain (17 bytes)
0000: 5B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 : [...............
0010: 00 : .
:: [libssh2] 1.057000 Transport: Packet type 91 received, length=17
:: [libssh2] 1.057000 Transport: Looking for packet of type: 91
:: [libssh2] 1.057000 Conn: Connection Established - ID: 0/0 win: 0/262144 pack: 32768/32768
:: [libssh2] 1.057000 Conn: starting request(exec) on channel 0/0, message=scp -pf 'code.xml'
=> 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 23 : .#
=> libssh2_transport_write plain2 (35 bytes)
0000: 73 63 70 20 2D 70 66 20 27 63 6F 64 65 2E 78 6D : scp -pf 'code.xm
0010: 6C 27 00 D2 0E 90 E3 FC 72 27 58 53 56 97 C3 A6 : l'......r'XSV...
0020: 3A 4C 5F : :L_
:: [libssh2] 1.057000 Socket: Sent 84/84 bytes at 0x62f5da0
=> libssh2_transport_write send() (84 bytes)
0000: 87 6C 0F 94 A2 1C D2 D1 91 0F E6 E0 1E 9F B3 5C : .l.............\
0010: 13 D4 93 30 DA 35 DB F3 A4 35 3A CE E8 15 C9 3D : ...0.5...5:....=
0020: 97 73 39 5F 75 8D 5F 47 97 55 BD 7E BD 30 B6 45 : .s9_u._G.U.~.0.E
0030: 14 18 0A 39 3A D9 17 53 C8 37 C5 EE 51 AA EA 67 : ...9:..S.7..Q..g
0040: 1F 3A 7F 63 2D AD F1 8C ED 9B 2F B8 86 0E 5D 72 : .:.c-...../...]r
0050: 71 AA E6 67 : q..g
:: [libssh2] 1.058000 Transport: Looking for packet of type: 99
:: [libssh2] 1.058000 Transport: Looking for packet of type: 100
:: [libssh2] 1.065000 Socket: Recved 540/16384 bytes to 0x62f1d78+0
=> libssh2_transport_read() raw (540 bytes)
0000: D0 53 6A A8 1F E9 0E D6 32 D9 03 69 4D 62 B1 87 : .Sj.....2..iMb..
0010: 1E 1A C2 E2 3B 6A E3 01 E9 E0 91 5F 93 DE 81 35 : ....;j....._...5
0020: 5D FD 13 E0 B5 D7 DB E3 C1 6B 22 96 76 55 CF 68 : ]........k".vU.h
0030: 44 28 8E 34 AD EE EC C6 58 E6 3E 44 91 AF A4 22 : D(.4....X.>D..."
0040: 06 ED BC B5 CD A0 02 89 81 59 63 AF 41 CD B8 AF : .........Yc.A...
0050: 5F C4 A2 17 AF AF 0E 26 D2 E1 CC F2 24 98 A7 9A : _......&....$...
0060: 54 4F DB 51 01 80 52 5F D8 85 F4 A4 80 B6 E1 CB : TO.Q..R_........
0070: F9 06 E1 7E 81 76 8A D1 12 D5 81 BF 45 60 49 7F : ...~.v......E`I.
0080: 2C 8E D6 61 F5 86 8F 54 3F E8 70 AA EF 1F AF 88 : ,..a...T?.p.....
0090: 40 42 BD A5 2F 4C 10 33 17 CC 90 10 DC E2 B8 D2 : @B../L.3........
00a0: 4A 1E B2 AA D2 C3 35 C9 48 E1 8F B9 0C 64 B3 D5 : J.....5.H....d..
00b0: F8 A4 20 E7 FE 07 FC 26 9B C6 1D 7A 55 76 A4 A9 : .. ....&...zUv..
00c0: 82 40 CD E0 DA DA CF DE 3E 6C AE 0E 7B 8B BA 62 : .@......>l..{..b
00d0: 93 D4 FE EF 04 64 48 F2 62 9A 58 4C 1E 47 9B 6A : .....dH.b.XL.G.j
00e0: D3 62 FE 3E 52 34 75 4D A9 6B 4F 01 E9 42 7F 84 : .b.>R4uM.kO..B..
00f0: 0D 58 08 41 56 DB BC AC F9 18 4E C2 FF A6 47 5D : .X.AV.....N...G]
0100: 45 01 F6 D2 1D 42 E4 0A C9 32 5B 39 08 E6 25 A7 : E....B...2[9..%.
0110: 1F AE 79 57 9D 53 9D 99 20 31 4A 68 84 B8 BA 93 : ..yW.S.. 1Jh....
0120: 21 3F ED 57 C2 EF 39 0D 89 15 89 4D 8B 00 16 72 : !?.W..9....M...r
0130: A5 70 E5 D8 A4 25 CA 61 13 21 38 3D E9 EE D5 06 : .p...%.a.!8=....
0140: B9 84 29 0C A5 14 6D E3 6C 53 D3 EC D7 06 AF DA : ..)...m.lS......
0150: 2E 3E 69 16 71 C8 84 6B F9 6C 04 2A 0F 71 87 CC : .>i.q..k.l.*.q..
0160: C6 12 87 3C 46 9C CF 33 8E 02 FF 9A 8B B8 AA CD : ...<F..3........
0170: BA 21 B0 2F 28 F2 E1 7C CF 3A 74 21 4F 6A 3C 9E : .!./(..|.:t!Oj<.
0180: 56 18 51 4F 65 6C 58 18 E5 C1 2E DB 4F 10 63 D2 : V.QOelX.....O.c.
0190: 74 6B 82 22 0E 47 00 07 A0 79 59 59 41 A9 75 5F : tk.".G...yYYA.u_
01a0: 45 6B 6B D4 92 D7 7A BD 71 00 35 1D 21 8F B0 EC : Ekk...z.q.5.!...
01b0: 25 DF 0F 92 D5 61 23 6E 63 75 32 CD BC 14 FB 48 : %....a#ncu2....H
01c0: 20 3A 5E D3 4B 16 E6 3E 6B 32 A0 0D B9 DE 33 D7 : :^.K..>k2....3.
01d0: 8D DC 3E 9B 22 40 EA 13 24 6C A5 FA AD 92 88 75 : ..>."@..$l.....u
01e0: 3A EA E4 F0 EE 95 4C D9 28 62 E0 CD E7 5A 99 90 : :.....L.(b...Z..
01f0: 73 E5 19 75 B3 C8 43 BB 4F 44 3D DC 17 FB EF E2 : s..u..C.OD=.....
0200: 7D E7 0C 86 21 2A A4 7C 4E B4 ED 30 1A 91 E3 83 : }...!*.|N..0....
0210: 6A B4 BD 0C 7F 82 67 CF 27 D3 D2 52 : j.....g.'..R
=> libssh2_transport_read() plain (9 bytes)
0000: 5D 00 00 00 00 00 20 00 00 : ]..... ..
:: [libssh2] 1.068000 Transport: Packet type 93 received, length=9
:: [libssh2] 1.068000 Conn: Window adjust for channel 0/0, adding 2097152 bytes, new window_size=2097152
=> libssh2_transport_read() plain (5 bytes)
0000: 63 00 00 00 00 : c....
:: [libssh2] 1.068000 Transport: Packet type 99 received, length=5
:: [libssh2] 1.068000 Transport: Looking for packet of type: 99
:: [libssh2] 1.068000 SCP: Sending initial wakeup
:: [libssh2] 1.069000 Conn: Writing 1 bytes on channel 0/0, stream #0
=> libssh2_transport_read() plain (415 bytes)
0000: 5F 00 00 00 00 00 00 00 01 00 00 01 92 64 65 62 : _............deb
0010: 75 67 33 3A 20 43 6F 70 79 20 65 6E 76 69 72 6F : ug3: Copy enviro
0020: 6E 6D 65 6E 74 3A 20 4C 41 4E 47 3D 65 6E 5F 55 : nment: LANG=en_U
0030: 53 2E 55 54 46 2D 38 0D 0A 45 6E 76 69 72 6F 6E : S.UTF-8..Environ
0040: 6D 65 6E 74 3A 0A 20 20 55 53 45 52 3D 62 61 72 : ment:. USER=bar
0050: 72 79 0A 20 20 4C 4F 47 4E 41 4D 45 3D 62 61 72 : ry. LOGNAME=bar
0060: 72 79 0A 20 20 48 4F 4D 45 3D 2F 57 65 62 44 61 : ry. HOME=/WebDa
0070: 74 61 2F 65 65 64 73 2F 68 74 64 6F 63 73 2F 43 : ta/eeds/htdocs/C
0080: 6C 69 65 6E 74 73 2F 30 32 38 38 35 30 34 36 34 : lients/028850464
0090: 38 31 66 62 34 39 37 0A 20 20 50 41 54 48 3D 2F : 81fb497. PATH=/
00a0: 75 73 72 2F 6C 6F 63 61 6C 2F 62 69 6E 3A 2F 75 : usr/local/bin:/u
00b0: 73 72 2F 62 69 6E 3A 2F 62 69 6E 3A 2F 75 73 72 : sr/bin:/bin:/usr
00c0: 2F 62 69 6E 2F 58 31 31 3A 2F 75 73 72 2F 67 61 : /bin/X11:/usr/ga
00d0: 6D 65 73 0A 20 20 4D 41 49 4C 3D 2F 76 61 72 2F : mes. MAIL=/var/
00e0: 6D 61 69 6C 2F 62 61 72 72 79 0A 20 20 53 48 45 : mail/barry. SHE
00f0: 4C 4C 3D 2F 62 69 6E 2F 62 61 73 68 0A 20 20 53 : LL=/bin/bash. S
0100: 53 48 5F 43 4C 49 45 4E 54 3D 32 30 2E 31 30 37 : SH_CLIENT=20.107
0110: 2E 36 31 2E 33 35 20 35 32 31 36 31 20 31 32 33 : .61.35 52161 123
0120: 34 35 0A 20 20 53 53 48 5F 43 4F 4E 4E 45 43 54 : 45. SSH_CONNECT
0130: 49 4F 4E 3D 32 30 2E 31 30 37 2E 36 34 2E 33 35 : ION=20.107.64.35
0140: 20 35 32 31 36 31 20 32 30 2E 31 30 37 2E 36 34 : 52161 20.107.64
0150: 2E 34 34 20 31 32 33 34 35 0A 20 20 4C 41 4E 47 : .44 12345. LANG
0160: 3D 65 6E 5F 55 53 2E 55 54 46 2D 38 0A 64 65 62 : =en_US.UTF-8.deb
0170: 75 67 33 3A 20 63 68 61 6E 6E 65 6C 20 30 3A 20 : ug3: channel 0:
0180: 63 6C 6F 73 65 5F 66 64 73 20 72 20 2D 31 20 77 : close_fds r -1 w
0190: 20 2D 31 20 65 20 2D 31 20 63 20 2D 31 0D 0A : -1 e -1 c -1..
:: [libssh2] 1.070000 Transport: Packet type 95 received, length=415
:: [libssh2] 1.070000 Conn: 402 bytes packet_add() for 0/0/1
Still just stops after the Conn: 402 bytes packet_add() line
On the server side
debug1: session_input_channel_req: session 0 req exec
debug2: fd 3 setting TCP_NODELAY
debug2: fd 10 setting O_NONBLOCK
debug2: fd 9 setting O_NONBLOCK
debug2: fd 12 setting O_NONBLOCK
debug2: channel 0: read 402 from efd 12
debug2: channel 0: rwin 262144 elen 402 euse 1
debug2: channel 0: sent ext data 402
Hope this helps
Thanks again
On May 27, 2012, at 1:37 PM, Peter Stuge wrote:
> ~0
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-05-27