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: speed limitation with scp and sftp using openssh

Subject: Re: speed limitation with scp and sftp using openssh
Date: Fri, 24 Feb 2006 11:59:31 -0800
I believe (but I haven't examined the protocol) that the issue is the ssh method
of multiplexing the connection.  It is akin to trying to transfer via CIFS.

The protocol is more chatty that it needs to be for that one task when
done alone.
The thing is that the SSH protocol was designed to be able to have
multiple operations
happening at the same time.  You can have four terminal sessions, four
file transfers
and multiple X windows forwarded at the same time, over the same SSH connection.

FTP just opens a TCP connection and sends the data raw, across it.  Closing of
the connection signals end of the transfer.  So FTP will always be the
fastest way
to send data across a TCP connection.  (UDP is another matter)

Others that are familiar with the SSH protocol implementation would be able to
describe it in more detail, if you want.

On 2/23/06, Richard Labutis <unixrules1@yahoo.com> wrote:
I am running aix 4.3, 5.1, 5.2, 5.3 using various
versions of openssh.

why is there a speed limit in copying files from one
machine to another. The speed appears to cap out at
around 7-8 mb/sec. This is on a gigabit network.
I know encryption has overhead, but not that much.
scp and sftp  is the commands used to copy files.
It makes no difference what version of ssh/aix, it all
has the same results.

if I used rcp or ftp, it's very fast.


Any thoughts?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--
And, did Guloka think the Ulus were too ugly to save?
                                         -Centauri

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