I have CoreFTP server installed on my side and I have a client can't access the SFTP server through public key authentication. We have verified that the public key is good one (It works fine with FileZilla on client side). But when they using their own SFTP clint software (BATSFTP with SSH2_5.3) it get the below error message:
Authentication successful.
HJW ttyp0000 Dec 2 10:15 (xxx.xxx.xxx.xxx)
BATSFTP ttyp0001 Dec 2 10:16 ()
Wed Dec 2 10:16:04 EST 2009
BATSFTP@ibmhost /home/batsftp# sftp xxxxxx@xxx.xxx.xxx.xxx
Warning: Need basic cursor movement capability, using vt100
warning: Could not access RNG crypto hardware: 'Token missing'
warning: Could not access Triple DES crypto hardware: 'Token missing'
warning: Could not access AES crypto hardware: 'Token missing'
warning: Need basic cursor movement capability, using vt100
warning: Authentication failed.
Disconnected (remote); protocol error (key check failed).
FATAL: ssh2 client failed to authenticate. (or you have too old ssh2 installed, check with ssh2 -V)
Do you have any idea?
Thanks,
SFTP client not working
-
- Posts: 6
- Joined: Tue Dec 29, 2009 5:52 pm
-
- Posts: 6
- Joined: Tue Dec 29, 2009 5:52 pm
Putty access
When I try to use Putty connect with CoreFTP, I always get the bellow error message:
Unable to excute command of shell on remote system: Failed to execute Process.
Connection closed by remote host.
Is that because Coreftp does not support Putty?
Thanks,
Unable to excute command of shell on remote system: Failed to execute Process.
Connection closed by remote host.
Is that because Coreftp does not support Putty?
Thanks,
-
- Posts: 6
- Joined: Tue Dec 29, 2009 5:52 pm
-
- Posts: 6
- Joined: Tue Dec 29, 2009 5:52 pm
CP,
Below is the log I get from Putty:
Event Log: Sent password
Incoming raw data
00000000 29 51 bf b0 c1 4d 95 20 0e 6b 92 86 93 c4 51 73 )Q...M. .k....Qs
00000010 a5 f2 60 f3 8c 0b 9a 74 1c 2d 8f e7 7e 01 b0 26 ..`....t.-..~..&
00000020 ff 60 1e c2 .`..
Incoming packet type 52 / 0x34 (SSH2_MSG_USERAUTH_SUCCESS)
Event Log: Access granted
Outgoing packet type 2 / 0x02 (SSH2_MSG_IGNORE)
00000000 00 00 00 00 ....
Outgoing packet type 90 / 0x5a (SSH2_MSG_CHANNEL_OPEN)
00000000 00 00 00 07 73 65 73 73 69 6f 6e 00 00 01 00 00 ....session.....
00000010 00 40 00 00 00 40 00 .@...@.
Outgoing raw data
00000000 65 0f 85 10 ef 5c 9d 41 81 fa db 22 e6 52 44 90 e....\.A...".RD.
00000010 38 a5 d1 f6 96 e7 18 15 3c e7 d9 fc 01 19 1e 51 8.......<......Q
00000020 4b 57 3c 6e 07 44 68 6a ec c9 b7 74 20 79 f1 e2 KW<n.Dhj...t y..
00000030 71 fa ff 48 a3 f6 58 b7 ba 12 47 07 fc 94 09 ea q..H..X...G.....
00000040 a9 cf ce 59 39 24 1f 71 d5 32 ec 84 83 a9 04 c5 ...Y9$.q.2......
00000050 1c 2b 28 94 a8 b1 dd b5 00 24 6f f6 b0 1d 59 5a .+(......$o...YZ
00000060 7f db 52 2f a0 fd 8c 03 ..R/....
Incoming raw data
00000000 db 3c 91 6e 12 0e 15 5e 58 2b 4d 34 c6 ed 2e 4c .<.n...^X+M4...L
00000010 84 65 02 9b 16 e1 e2 df c8 23 8b b6 b6 ad 7c 2b .e.......#....|+
00000020 e5 f0 e0 c3 6b 9e c5 67 6b 4c 3e dc f9 8b a6 dc ....k..gkL>.....
00000030 d4 08 18 6a ...j
Incoming packet type 91 / 0x5b (SSH2_MSG_CHANNEL_OPEN_CONFIRMATION)
00000000 00 00 01 00 00 00 00 00 00 01 00 00 00 00 80 00 ................
Event Log: Opened channel for session
Outgoing packet type 2 / 0x02 (SSH2_MSG_IGNORE)
00000000 00 00 00 00 ....
Outgoing packet type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
00000000 00 00 00 00 00 00 00 07 70 74 79 2d 72 65 71 01 ........pty-req.
00000010 00 00 00 05 78 74 65 72 6d 00 00 00 50 00 00 00 ....xterm...P...
00000020 18 00 00 00 00 00 00 00 00 00 00 00 10 03 00 00 ................
00000030 00 7f 80 00 00 96 00 81 00 00 96 00 00 .............
Outgoing raw data
00000000 bb 7f b1 0d d6 56 36 9d 59 4d fe d9 56 09 05 90 .....V6.YM..V...
00000010 c7 bd 2f c2 dc eb 3c 87 dc ec bf 13 92 0c 33 74 ../...<.......3t
00000020 61 ea cd 28 38 f5 8a 4b da a3 d5 7f 0f c9 5f 97 a..(8..K......_.
00000030 23 94 97 d4 77 f1 76 91 ac b2 0c c4 ed 6a cd 12 #...w.v......j..
00000040 c5 7f f0 d7 3f 1e 2a 1c 76 96 b0 5b 7c 65 12 6a ....?.*.v..[|e.j
00000050 8c ab 8a c6 78 e2 30 c4 1e b7 13 3b f0 46 7c 6b ....x.0....;.F|k
00000060 e7 34 ca 29 02 7b 47 84 61 bb c0 e2 f1 98 f5 38 .4.).{G.a......8
00000070 84 c9 88 5d 16 f2 35 02 59 77 51 b6 8f 57 8f 44 ...]..5.YwQ..W.D
00000080 04 47 2d 0c 9c 1b 1d a3 .G-.....
Incoming raw data
00000000 b0 1b 39 c9 bf 07 8b e9 ad ea 35 5d 75 a5 ec 0e ..9.......5]u...
00000010 4d 97 0d ec 59 f3 49 61 51 31 58 e1 e0 73 41 c2 M...Y.IaQ1X..sA.
00000020 f4 03 62 97 ..b.
Incoming packet type 99 / 0x63 (SSH2_MSG_CHANNEL_SUCCESS)
00000000 00 00 01 00 ....
Event Log: Allocated pty (ospeed 38400bps, ispeed 38400bps)
Outgoing packet type 2 / 0x02 (SSH2_MSG_IGNORE)
00000000 00 00 00 00 ....
Outgoing packet type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
00000000 00 00 00 00 00 00 00 05 73 68 65 6c 6c 01 ........shell.
Outgoing raw data
00000000 17 ba b7 58 73 a6 ed 28 d6 7d 75 2f d2 fb b5 36 ...Xs..(.}u/...6
00000010 d7 81 67 25 f3 22 6a 83 29 6a bb 53 74 41 8c c1 ..g%."j.)j.StA..
00000020 74 4e 91 5c 74 40 cf 0c 59 0d a5 02 e7 79 20 31 tN.\t@..Y....y 1
00000030 a2 03 29 61 46 cd ac 78 9a b8 2c bf 68 a0 1b 68 ..)aF..x..,.h..h
00000040 9f d8 5c f8 ed fb 63 61 6a d6 72 f2 3e c1 51 cc ..\...caj.r.>.Q.
00000050 8b ed dd 3b b0 3f e2 29 ...;.?.)
Incoming raw data
00000000 df 0b d3 c5 40 c9 da dc 91 26 f4 ed bc 2b e2 d7 ....@....&...+..
00000010 92 cd 15 0c e6 8a c4 15 fc 83 63 80 f9 4d 6c 39 ..........c..Ml9
00000020 5e 5e 04 2b b5 a6 f5 57 58 6e 91 ab c8 7e e2 8a ^^.+...WXn...~..
00000030 1a bc 47 c1 ed 42 06 74 f7 6a 23 50 34 55 8f be ..G..B.t.j#P4U..
00000040 63 b1 57 6c 23 88 16 6b 1e 54 af c1 bc df 08 87 c.Wl#..k.T......
00000050 b4 cf 86 98 7b 19 3f 48 ....{.?H
Incoming packet type 99 / 0x63 (SSH2_MSG_CHANNEL_SUCCESS)
00000000 00 00 01 00 ....
Event Log: Started a shell/command
Incoming packet type 93 / 0x5d (SSH2_MSG_CHANNEL_WINDOW_ADJUST)
00000000 00 00 01 00 00 00 00 00 ........
Incoming raw data
00000000 4b 6a 68 60 0c f3 c1 5b 50 68 6f f5 8c 5e 6c 5f Kjh`...[Pho..^l_
00000010 46 cf 1f 0d 1a 4e da 26 15 4b fb 6a 54 1c 3d a6 F....N.&.K.jT.=.
00000020 cc 7d d6 72 08 dc ba a2 17 37 a4 8e 56 c5 87 1a .}.r.....7..V...
00000030 b3 c6 a9 4e ec ab ab 2f 65 54 46 f3 83 92 4f ae ...N.../eTF...O.
00000040 70 ec 44 6a 0f ef 5a 6c 46 66 60 6e d5 19 c4 40 p.Dj..ZlFf`n...@
00000050 73 9d d0 28 7b bd b1 3b 08 e6 d1 77 60 6e 12 d7 s..({..;...w`n..
00000060 50 c1 d5 4b 35 46 b3 e5 b8 d1 0f f2 ed 24 cb f1 P..K5F.......$..
00000070 76 05 25 8d b7 b3 d7 6b 84 04 bf f0 c9 40 fe 24 v.%....k.....@.$
00000080 71 f4 f6 b6 d6 a2 33 05 e0 d7 bd f4 97 4a 15 b5 q.....3......J..
00000090 7f e9 10 6b fb d1 f6 e2 4d 41 92 eb db 04 06 4f ...k....MA.....O
000000a0 2f d6 ee 87 b4 92 11 4e /......N
Incoming packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 01 00 00 00 00 51 55 6e 61 62 6c 65 20 74 .......QUnable t
00000010 6f 20 65 78 65 63 75 74 65 20 63 6f 6d 6d 61 6e o execute comman
00000020 64 20 6f 72 20 73 68 65 6c 6c 20 6f 6e 20 72 65 d or shell on re
00000030 6d 6f 74 65 20 73 79 73 74 65 6d 3a 20 46 61 69 mote system: Fai
00000040 6c 65 64 20 74 6f 20 45 78 65 63 75 74 65 20 70 led to Execute p
00000050 72 6f 63 65 73 73 2e 0d 0a rocess...
Incoming packet type 97 / 0x61 (SSH2_MSG_CHANNEL_CLOSE)
00000000 00 00 01 00 ....
Outgoing packet type 2 / 0x02 (SSH2_MSG_IGNORE)
00000000 00 00 00 00 ....
Outgoing packet type 97 / 0x61 (SSH2_MSG_CHANNEL_CLOSE)
00000000 00 00 00 00 ....
Outgoing raw data
00000000 f5 6f 7b d6 06 20 36 c6 ce 33 d3 78 fd 36 a2 b6 .o{.. 6..3.x.6..
00000010 cd 96 43 d7 3c 1e 96 6f b1 97 05 44 9b be 81 e8 ..C.<..o...D....
00000020 b2 2e 9e 41 13 1b cf 13 5b e7 35 a8 25 b6 b8 74 ...A....[.5.%..t
00000030 f9 6c 69 11 ef c4 f9 66 03 4b 31 7a 43 18 8e 71 .li....f.K1zC..q
00000040 d1 5b 3a da bc e3 cc 87 .[:.....
Event Log: Disconnected: All channels closed
Below is the log I get from Putty:
Event Log: Sent password
Incoming raw data
00000000 29 51 bf b0 c1 4d 95 20 0e 6b 92 86 93 c4 51 73 )Q...M. .k....Qs
00000010 a5 f2 60 f3 8c 0b 9a 74 1c 2d 8f e7 7e 01 b0 26 ..`....t.-..~..&
00000020 ff 60 1e c2 .`..
Incoming packet type 52 / 0x34 (SSH2_MSG_USERAUTH_SUCCESS)
Event Log: Access granted
Outgoing packet type 2 / 0x02 (SSH2_MSG_IGNORE)
00000000 00 00 00 00 ....
Outgoing packet type 90 / 0x5a (SSH2_MSG_CHANNEL_OPEN)
00000000 00 00 00 07 73 65 73 73 69 6f 6e 00 00 01 00 00 ....session.....
00000010 00 40 00 00 00 40 00 .@...@.
Outgoing raw data
00000000 65 0f 85 10 ef 5c 9d 41 81 fa db 22 e6 52 44 90 e....\.A...".RD.
00000010 38 a5 d1 f6 96 e7 18 15 3c e7 d9 fc 01 19 1e 51 8.......<......Q
00000020 4b 57 3c 6e 07 44 68 6a ec c9 b7 74 20 79 f1 e2 KW<n.Dhj...t y..
00000030 71 fa ff 48 a3 f6 58 b7 ba 12 47 07 fc 94 09 ea q..H..X...G.....
00000040 a9 cf ce 59 39 24 1f 71 d5 32 ec 84 83 a9 04 c5 ...Y9$.q.2......
00000050 1c 2b 28 94 a8 b1 dd b5 00 24 6f f6 b0 1d 59 5a .+(......$o...YZ
00000060 7f db 52 2f a0 fd 8c 03 ..R/....
Incoming raw data
00000000 db 3c 91 6e 12 0e 15 5e 58 2b 4d 34 c6 ed 2e 4c .<.n...^X+M4...L
00000010 84 65 02 9b 16 e1 e2 df c8 23 8b b6 b6 ad 7c 2b .e.......#....|+
00000020 e5 f0 e0 c3 6b 9e c5 67 6b 4c 3e dc f9 8b a6 dc ....k..gkL>.....
00000030 d4 08 18 6a ...j
Incoming packet type 91 / 0x5b (SSH2_MSG_CHANNEL_OPEN_CONFIRMATION)
00000000 00 00 01 00 00 00 00 00 00 01 00 00 00 00 80 00 ................
Event Log: Opened channel for session
Outgoing packet type 2 / 0x02 (SSH2_MSG_IGNORE)
00000000 00 00 00 00 ....
Outgoing packet type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
00000000 00 00 00 00 00 00 00 07 70 74 79 2d 72 65 71 01 ........pty-req.
00000010 00 00 00 05 78 74 65 72 6d 00 00 00 50 00 00 00 ....xterm...P...
00000020 18 00 00 00 00 00 00 00 00 00 00 00 10 03 00 00 ................
00000030 00 7f 80 00 00 96 00 81 00 00 96 00 00 .............
Outgoing raw data
00000000 bb 7f b1 0d d6 56 36 9d 59 4d fe d9 56 09 05 90 .....V6.YM..V...
00000010 c7 bd 2f c2 dc eb 3c 87 dc ec bf 13 92 0c 33 74 ../...<.......3t
00000020 61 ea cd 28 38 f5 8a 4b da a3 d5 7f 0f c9 5f 97 a..(8..K......_.
00000030 23 94 97 d4 77 f1 76 91 ac b2 0c c4 ed 6a cd 12 #...w.v......j..
00000040 c5 7f f0 d7 3f 1e 2a 1c 76 96 b0 5b 7c 65 12 6a ....?.*.v..[|e.j
00000050 8c ab 8a c6 78 e2 30 c4 1e b7 13 3b f0 46 7c 6b ....x.0....;.F|k
00000060 e7 34 ca 29 02 7b 47 84 61 bb c0 e2 f1 98 f5 38 .4.).{G.a......8
00000070 84 c9 88 5d 16 f2 35 02 59 77 51 b6 8f 57 8f 44 ...]..5.YwQ..W.D
00000080 04 47 2d 0c 9c 1b 1d a3 .G-.....
Incoming raw data
00000000 b0 1b 39 c9 bf 07 8b e9 ad ea 35 5d 75 a5 ec 0e ..9.......5]u...
00000010 4d 97 0d ec 59 f3 49 61 51 31 58 e1 e0 73 41 c2 M...Y.IaQ1X..sA.
00000020 f4 03 62 97 ..b.
Incoming packet type 99 / 0x63 (SSH2_MSG_CHANNEL_SUCCESS)
00000000 00 00 01 00 ....
Event Log: Allocated pty (ospeed 38400bps, ispeed 38400bps)
Outgoing packet type 2 / 0x02 (SSH2_MSG_IGNORE)
00000000 00 00 00 00 ....
Outgoing packet type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
00000000 00 00 00 00 00 00 00 05 73 68 65 6c 6c 01 ........shell.
Outgoing raw data
00000000 17 ba b7 58 73 a6 ed 28 d6 7d 75 2f d2 fb b5 36 ...Xs..(.}u/...6
00000010 d7 81 67 25 f3 22 6a 83 29 6a bb 53 74 41 8c c1 ..g%."j.)j.StA..
00000020 74 4e 91 5c 74 40 cf 0c 59 0d a5 02 e7 79 20 31 tN.\t@..Y....y 1
00000030 a2 03 29 61 46 cd ac 78 9a b8 2c bf 68 a0 1b 68 ..)aF..x..,.h..h
00000040 9f d8 5c f8 ed fb 63 61 6a d6 72 f2 3e c1 51 cc ..\...caj.r.>.Q.
00000050 8b ed dd 3b b0 3f e2 29 ...;.?.)
Incoming raw data
00000000 df 0b d3 c5 40 c9 da dc 91 26 f4 ed bc 2b e2 d7 ....@....&...+..
00000010 92 cd 15 0c e6 8a c4 15 fc 83 63 80 f9 4d 6c 39 ..........c..Ml9
00000020 5e 5e 04 2b b5 a6 f5 57 58 6e 91 ab c8 7e e2 8a ^^.+...WXn...~..
00000030 1a bc 47 c1 ed 42 06 74 f7 6a 23 50 34 55 8f be ..G..B.t.j#P4U..
00000040 63 b1 57 6c 23 88 16 6b 1e 54 af c1 bc df 08 87 c.Wl#..k.T......
00000050 b4 cf 86 98 7b 19 3f 48 ....{.?H
Incoming packet type 99 / 0x63 (SSH2_MSG_CHANNEL_SUCCESS)
00000000 00 00 01 00 ....
Event Log: Started a shell/command
Incoming packet type 93 / 0x5d (SSH2_MSG_CHANNEL_WINDOW_ADJUST)
00000000 00 00 01 00 00 00 00 00 ........
Incoming raw data
00000000 4b 6a 68 60 0c f3 c1 5b 50 68 6f f5 8c 5e 6c 5f Kjh`...[Pho..^l_
00000010 46 cf 1f 0d 1a 4e da 26 15 4b fb 6a 54 1c 3d a6 F....N.&.K.jT.=.
00000020 cc 7d d6 72 08 dc ba a2 17 37 a4 8e 56 c5 87 1a .}.r.....7..V...
00000030 b3 c6 a9 4e ec ab ab 2f 65 54 46 f3 83 92 4f ae ...N.../eTF...O.
00000040 70 ec 44 6a 0f ef 5a 6c 46 66 60 6e d5 19 c4 40 p.Dj..ZlFf`n...@
00000050 73 9d d0 28 7b bd b1 3b 08 e6 d1 77 60 6e 12 d7 s..({..;...w`n..
00000060 50 c1 d5 4b 35 46 b3 e5 b8 d1 0f f2 ed 24 cb f1 P..K5F.......$..
00000070 76 05 25 8d b7 b3 d7 6b 84 04 bf f0 c9 40 fe 24 v.%....k.....@.$
00000080 71 f4 f6 b6 d6 a2 33 05 e0 d7 bd f4 97 4a 15 b5 q.....3......J..
00000090 7f e9 10 6b fb d1 f6 e2 4d 41 92 eb db 04 06 4f ...k....MA.....O
000000a0 2f d6 ee 87 b4 92 11 4e /......N
Incoming packet type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
00000000 00 00 01 00 00 00 00 51 55 6e 61 62 6c 65 20 74 .......QUnable t
00000010 6f 20 65 78 65 63 75 74 65 20 63 6f 6d 6d 61 6e o execute comman
00000020 64 20 6f 72 20 73 68 65 6c 6c 20 6f 6e 20 72 65 d or shell on re
00000030 6d 6f 74 65 20 73 79 73 74 65 6d 3a 20 46 61 69 mote system: Fai
00000040 6c 65 64 20 74 6f 20 45 78 65 63 75 74 65 20 70 led to Execute p
00000050 72 6f 63 65 73 73 2e 0d 0a rocess...
Incoming packet type 97 / 0x61 (SSH2_MSG_CHANNEL_CLOSE)
00000000 00 00 01 00 ....
Outgoing packet type 2 / 0x02 (SSH2_MSG_IGNORE)
00000000 00 00 00 00 ....
Outgoing packet type 97 / 0x61 (SSH2_MSG_CHANNEL_CLOSE)
00000000 00 00 00 00 ....
Outgoing raw data
00000000 f5 6f 7b d6 06 20 36 c6 ce 33 d3 78 fd 36 a2 b6 .o{.. 6..3.x.6..
00000010 cd 96 43 d7 3c 1e 96 6f b1 97 05 44 9b be 81 e8 ..C.<..o...D....
00000020 b2 2e 9e 41 13 1b cf 13 5b e7 35 a8 25 b6 b8 74 ...A....[.5.%..t
00000030 f9 6c 69 11 ef c4 f9 66 03 4b 31 7a 43 18 8e 71 .li....f.K1zC..q
00000040 d1 5b 3a da bc e3 cc 87 .[:.....
Event Log: Disconnected: All channels closed
-
- Posts: 6
- Joined: Tue Dec 29, 2009 5:52 pm