LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-11-2007, 08:53 PM   #1
Akonbobot
Member
 
Registered: Nov 2004
Distribution: Debian, Fedora, Puppy
Posts: 43

Rep: Reputation: 15
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
 
Old 05-12-2007, 02:49 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Read 'man sftp'; you have a choice of encryption ciphers. A good fast cipher is blowfish, so try:

sftp -o Cipher=blowfish user@host
 
Old 05-12-2007, 12:21 PM   #3
Akonbobot
Member
 
Registered: Nov 2004
Distribution: Debian, Fedora, Puppy
Posts: 43

Original Poster
Rep: Reputation: 15
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
 
Old 05-12-2007, 01:23 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
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.
 
Old 05-12-2007, 08:20 PM   #5
Akonbobot
Member
 
Registered: Nov 2004
Distribution: Debian, Fedora, Puppy
Posts: 43

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd and SSL/TLS mikeheggy Linux - Networking 3 12-19-2008 10:01 AM
apache SSL/TLS overlord73 Linux - Security 3 05-12-2005 05:53 AM
FTP via SSL (TLS) embsupafly Linux - Security 2 03-02-2005 08:47 PM
Fastest File Transfer Protocol unixvillian Linux - Networking 1 06-09-2004 03:31 PM
SSL vs. TLS X11 Linux - Security 8 12-17-2002 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration