Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-11-2007, 09:53 PM
|
#1
|
Member
Registered: Nov 2004
Distribution: Debian, Fedora, Puppy
Posts: 43
Rep:
|
Fastest protocol, SSH, SSHFS, VPN, TLS/SSL
Hi.
Which is the fastest encryption/decryption for secure ftp transfers?
VPN vs. SSH vs. SSHFS vs. TLS/SSL
Can someone please direct me to where I can read a decent
review of the speed differences for purposes of choosing
an encryption strategy ?
I'm getting miserable speeds on the LAN using SSH v2, using
secure SFTP for file transfers.
I'd eventually like to access via remote connection, but am not
sure which protocol will deliver the best transfer rates.
Thank you.
Akonbobot
|
|
|
05-12-2007, 03:49 AM
|
#2
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
|
Read 'man sftp'; you have a choice of encryption ciphers. A good fast cipher is blowfish, so try:
sftp -o Cipher=blowfish user@host
|
|
|
05-12-2007, 01:21 PM
|
#3
|
Member
Registered: Nov 2004
Distribution: Debian, Fedora, Puppy
Posts: 43
Original Poster
Rep:
|
Speediest connection for SFTP transfers ?
Thanks, I'm currently using SFTP via SSH v2 and blowfish... it's too
slow.
I'd like to determine which connection is going to be speediest
when doing secure ftp transfers;
VPN, SSH, SSHFS, or TLS/SSL
Which is speediest ?
Thank you.
Akonbobot
|
|
|
05-12-2007, 02:23 PM
|
#4
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
|
You're mixing applications with ciphers. The application has little impact; most of the work is in the cipher. If your CPU (and the CPU on the remote side) are not maxing out at 100%, then the cipher and the application are not your bottleneck. You are being bandwidth limited. In that case, you can add compression, to trade CPU for bandwidth:
sftp -C -o Cipher=blowfish user@host
In the end, you can only optimize a limited resource so much.
|
|
|
05-12-2007, 09:20 PM
|
#5
|
Member
Registered: Nov 2004
Distribution: Debian, Fedora, Puppy
Posts: 43
Original Poster
Rep:
|
Thank you for your input.
Is this true...
If I use a VPN, SSH, SSHFS, TLS/SSL connection they are all possess the same capacity for speed when I wish to ftp files through?
The bottleneck will be in the cipher used only ?
Thank you.
Akonbobot
|
|
|
All times are GMT -5. The time now is 05:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|