Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

large scp/sftp from 4.1 to 3.4 fails

Subject: large scp/sftp from 4.1 to 3.4 fails
Date: Mon, 16 Jan 2006 17:22:09 +0200
Hi all,

On an end,
OpenSSH_3.4p1, SSH protocols 1.5/2.0, Openssl 0x0090605f  on a Windows
2000 Server.
(i think have been  installed with Network Simplicity)

on the other end,
OpenSSH_4.1p1, OpenSSL 0.9.7g 11 Apr 2005 on a FreeBSD 5.4-Stable.

for backup purposes, we transfer a large file from the second to first
weekly. When file size exceeds 2 G
we get the following output. The file is created successfully but the
size is 0 and the connection is lost.

Executing: program /usr/bin/ssh host 192.168.100.2, user administrator,
command scp -v -t d:/web_backup/
OpenSSH_4.1p1, OpenSSL 0.9.7g 11 Apr 2005
debug1: Reading configuration data /usr/etc/ssh/ssh_config
debug1: Connecting to 192.168.100.2 [192.168.100.2] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.4p1
debug1: match: OpenSSH_3.4p1 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.100.2' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:4
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Offering public key: /root/.ssh/id_rsa
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Offering public key: /root/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 817
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -t d:/web_backup/
Sending file modes: C0644 2738775029 web_backup-20060115.tgz
web_backup-20060115.tgz                                                         
            
0%    0     0.0KB/s   --:-- ETAdebug1: client_input_channel_req: channel
0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.4 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 0
lost connection

when using sftp it runs ok until reached 2 G and gives the following error

Uploading web_backup-20060115.tgz to /bin/./web_backup-20060115.tgz
web_backup-20060115.tgz                                                         
           
78% 2046MB   2.9MB/s   03:14 ETA
Couldn't write to remote file "/bin/./web_backup-20060115.tgz": Bad message
ID mismatch (65547 != 10)

may upgrading 3.4 to 3.8 or something solve my problem? 

--

thank you

<Prev in Thread] Current Thread [Next in Thread>