Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Which FTP Server?
PostPosted: Fri Mar 03, 2006 12:28 am 
Offline
Senior Member

Joined: Fri Feb 17, 2006 9:47 pm
Posts: 91
Hey guys, I was just wondering if anybody had any advice on which ftp server I should use for my linode, security is my number one concern. Are there any with known security holes that I should avoid?

Cheers.


Top
   
 Post subject:
PostPosted: Fri Mar 03, 2006 7:51 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
I recommend vsftpd.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Fri Mar 03, 2006 8:05 am 
Offline
Senior Member

Joined: Fri Feb 17, 2006 9:47 pm
Posts: 91
I've had a look and vsftpd seems to be quite good, might give this one a go. Thanks very much for that Peter.

Cheers.


Top
   
 Post subject:
PostPosted: Fri Mar 03, 2006 8:35 pm 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
That's the one I run. No problems here!


Top
   
 Post subject:
PostPosted: Sat Mar 18, 2006 7:55 pm 
Offline
Senior Newbie

Joined: Sun Feb 05, 2006 1:21 pm
Posts: 10
Location: United Kingdom
:D

I use VSFTP too and it's excellent.

_________________
-=L9NUX=-


Top
   
 Post subject: vsftp problems
PostPosted: Wed May 17, 2006 9:45 pm 
Offline
Newbie

Joined: Mon May 08, 2006 9:03 pm
Posts: 3
ICQ: 116786501
Website: http://mysudbury.org
WLM: addict_pda@yahoo.ca
Yahoo Messenger: addict_pda
AOL: WaernTodd
Location: Greater Sudbury, Canada
i cant get vsftpd to accept anonymous connections. i setup the conf file right .. according to the website but it always gives me connecttion terminated wrong password.


Top
   
 Post subject:
PostPosted: Thu Jul 09, 2009 7:17 pm 
Offline
Newbie

Joined: Thu Jul 09, 2009 7:13 pm
Posts: 4
Hi all, Im having a problem connecting to my vstpd. Im allowing all traffic right now.

Connection attempt failed with "ECONNREFUSED - Connection refused by server".

Im using the default config file, which allows annoymous users by default right now, but its not connecting.


Top
   
 Post subject:
PostPosted: Sat Jul 11, 2009 8:10 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
See what the command netstat -lvnut produces. If you don't see something ending in ":21" under "Local Address," then the FTP server isn't listening for connections. If this is OK, check your firewall settings to make sure you're not blocking connections.


Top
   
 Post subject:
PostPosted: Sat Jul 11, 2009 8:53 pm 
Offline
Senior Newbie

Joined: Wed May 27, 2009 9:43 pm
Posts: 18
I recommend vsftpd if you really want to use ftp.


Top
   
 Post subject:
PostPosted: Tue Jul 14, 2009 3:58 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
If security is your concern, don't use FTP at all. Use SFTP.

SFTP support is built right into your SSH server, so it's already supported. There are a variety of clients for every platform (Windows/Linux/OS X). It "just works", and provides similar functionality to FTP.


Top
   
 Post subject:
PostPosted: Tue Jul 14, 2009 5:40 pm 
Offline

Joined: Sat Apr 04, 2009 3:14 pm
Posts: 1
I'd have to agree with Guspaz. FTP isn't really worth it when you can use SFTP (SSH File Transfer Protocol, vastly more secure). But if you really must have FTP, vsftpd isn't a bad choice at all.


Top
   
 Post subject:
PostPosted: Wed Jul 29, 2009 10:40 pm 
Offline
Senior Newbie

Joined: Wed Jul 29, 2009 7:50 pm
Posts: 10
Is it possible to create a user for the primary purpose of sFTPing to a folder outside of the home directory, while using public/private keys?

I set up a user with no shell access, and a home directory of /var/www/domain.com, but I couldn't figure out where to put my public key, and so the sftp connection would never authenticate.


Top
   
 Post subject:
PostPosted: Thu Jul 30, 2009 10:30 am 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
epohs wrote:
Is it possible to create a user for the primary purpose of sFTPing to a folder outside of the home directory, while using public/private keys?

I set up a user with no shell access, and a home directory of /var/www/domain.com, but I couldn't figure out where to put my public key, and so the sftp connection would never authenticate.


sshd should use ~/.ssh/ no matter what ~ is. So, in this case, it'd be /var/www/domain.com/.ssh/


Top
   
 Post subject:
PostPosted: Thu Jul 30, 2009 10:50 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
You need to be careful with ownership/permissions as well - sshd is pretty picky about this. The complete path to the certificate must be readable by the user and not be writable by groups or others or belong to root.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Thu Jul 30, 2009 2:24 pm 
Offline
Senior Newbie

Joined: Wed Jul 29, 2009 7:50 pm
Posts: 10
Does it matter who owns the .ssh folder?

Because, I did all of those things and I believe I had permissions set correctly, but the owner of the folder was a different user.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group