LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2007, 02:25 AM   #1
indiancosmonaut
Member
 
Registered: Feb 2007
Posts: 65

Rep: Reputation: 15
sftp versus vsFTPd


Hi,

I want to know about the basic differences between sftp and vsFTPd.
I found out some differences but my basic doubt is:
How is vsFTP functionally different/"more secure" from sftp.

Thanks in advance!

Kind regards,

indiancosmonaut
 
Old 10-09-2007, 03:15 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well they are totally different protocols. sftp emulates the ftp synatx, but it's not actually ftp at all, just running through ssh instead. you can ftp (with or without ssl) to a vsftpd server, but you can't ftp to an sftp server, you only sftp / scp to it, so your client needs very different capabilities.
 
Old 10-09-2007, 04:43 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Advantage of VSFTP is that it has built-in jail functionality, so a user can only access the homedirectory and not snoop around in other directories; this requires one line in the config file.
You can achieve the same with sftp, but it requires significant more work.
 
Old 11-26-2007, 11:56 AM   #4
vglass
LQ Newbie
 
Registered: Jun 2007
Posts: 10

Rep: Reputation: 0
ftp v.s. sftp

Another difference is that FTP by nature is insecure while SFTP is secure. FTP also has another variant called FTPS (FTP over SSL) that is a secure form of FTP.

For a server that supports all the protocols FTP, FTPS, SFTP etc. you might take a look at JSCAPE Secure FTP Server.

http://www.jscape.com/secureftpserver/
 
Old 08-20-2010, 12:46 PM   #5
YouNix
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Rep: Reputation: 1
SFTP vs FTP

Sftp is probably more robust than FTP, HOWEVER, it has one very significant drawback.
sftp users by default can see directories and files of other users and for example can download files that ends up in /tmp
It is possible to jail users on versions of openssh after 4.9 but this is not (properly) supported by RH5 or Centos 5. It requires serious hacking to get it to work and no solution offers simple maintenance. All solutions require compiling of code.
So ftp may be the only answer in cases where you dont want users snooping around.
 
Old 01-10-2011, 11:24 PM   #6
briar354
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Time changes everything

Hi.
I know it's a dead thread but hopefully someone can find this interesting.
There are now several guides on the net on howto configure OpenSSH to work
with a chrooted SFTP server.

I found this one to work easiest for me.
See the last bullit to configure using built-in options.


http://www.minstrel.org.uk/papers/sftp/



Cheers
 
  


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
vsftpd settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 10:31 PM
Remote backup server: vsftpd/SSL or openssh/sftp or... ? krog Linux - Security 3 04-24-2006 11:50 PM
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 09:14 PM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM
vsftpd and sftp troubles Vvcdde Linux - Software 0 07-31-2003 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:33 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