1829103 Members
3060 Online
109986 Solutions
New Discussion

ftp connection very slow

 
Achilles_2
Regular Advisor

ftp connection very slow

Hi,

I am trying to get APA working.
Currently I installed J4240AA (Version B.11.23.05), but when issuing "ftp " It is so very slow. It's very clear that ssh is waiting for something.

When using rlogin or telnet, I have high performance issue at all.

Any help will be much apreciated !!

Regs
Achilles
4 REPLIES 4
Chris Vail
Honored Contributor

Re: ftp connection very slow

ftp and ssh are two different critters. The secure copy facility of ssh is known as scp. The command:
scp FILENAME DESTINATION/DIRECTORY
should work.

You didn't mention what the destination machine was running. If both machines are running 11.23, and they're both reasonably fast processsors, then you might have a problem to look into.

If you're connecting to an 11.0 system on a slow processor, then indeed there could be a long wait to make the initial connection while the two machines exchange keys. The secure utilities on 11.0 are notoriously slow and this is aggravated by slow processors.

However, once the initial handshaking takes place, the secure utilities are just as fast as their unsecure bretheren. Its worth the bother and the wait to make this work. I've attached my usual file to illustrate the configuration of secure shell
Andrew Cowan
Honored Contributor

Re: ftp connection very slow

SSH is waiting for the key exchange to be resolved. This can be seen by doing an "ssh -v ".

You can improve the speed of this by reducing the size of the server's key "ServerKeyBits" in sshd_config, or by calling ssh with the "-c cipher_spec".

Another cause can be if "sshd" is being called by inetd rather than being a standalone daemon, the "authorized_keys" file is very long, there is a problem with DNS name resolution.
Ravi_8
Honored Contributor

Re: ftp connection very slow

Hi,

check the lan interface card, whether it has been set to HD (half duplex) or FD (full duplaex)using lanadmin.
change according to your network settings
never give up
B. Hulst
Trusted Contributor

Re: ftp connection very slow

Hi,

Usually when FTP to or from HP-UX systems there might be FTP problems if the HP lancard is auto-negotiating the half and full duplex with the switch.

You barely can ftp 1MB file in 10 minutes.

The trick is to turn off auto-negotiation in both or at least the HP lancards.

Regards,
Bob