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]

Re: Problem with scp

Subject: Re: Problem with scp
Date: Wed, 8 Dec 2004 07:59:13 -0500
On Tue, Dec 07, 2004 at 09:59:27AM +0100, Melanie.Berg@bafin.de wrote:
Here's the server's output when started in debug mode:
[...]
debug1: expecting SSH2_MSG_NEWKEYS
Connection closed by 10.254.250.1

Since the server is 10.254.253.254, this looks like a client side problem.

Here's the output the client gets when connecting to the machine:
[...]
Sending file modes: C0644 0 test.xml

It's a 0 byte file...?

debug1: channel 0: read<=0 rfd 5 len 0
debug1: channel 0: read failed
debug1: channel 0: close_read

Looks like the client might be confused by the fact that the file is
0 bytes.  (Speculating... other possibilities might be a corrupted file
system, or a failing disk, or anything else that would render the file
unreadable despite the 0644 permissions.)

debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.3 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 0

But the client exited with status 0, so it *thinks* it completed
successfully.  Have you tried with a different file?  Have you checked
dmesg(8) and other logs for errors on the client side?

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