FTP using VSFTPD

General support questions
Post Reply
Mark.Harwood
Posts: 2
Joined: 2017/05/25 08:26:56

FTP using VSFTPD

Post by Mark.Harwood » 2017/05/25 08:32:05

Hi,

I have created a vsftpd ftp server on centos 7 and am trying to lock a user down to only their home directory.

When testing, the user is jailed to their home directory if they putty into the server but when using FileZilla, the user can traverse the entire server.

Not sure if this is the correct place for this but I need help :) be gentle if I'm wrong.

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: FTP using VSFTPD

Post by TrevorH » 2017/05/25 11:20:04

If you use putty then you are not using vsftpd, you are using sshd. If you intend to use sftp (not ftps) then you need to configure openssh not vsftpd. If you want to use plain text ftp or ftps then you ned to set up vsftpd. sftp != ftps.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Mark.Harwood
Posts: 2
Joined: 2017/05/25 08:26:56

Re: FTP using VSFTPD

Post by Mark.Harwood » 2017/05/25 11:37:34

Thanks for the response!

I have made all the changes I can find to the vsftpd.conf file and still the user can traverse the entire machine when using FileZilla, but is locked down when in a putty session.

Is this an issue with FileZilla or me? :)

I am a noob with all this, please let me know if I am missing something glaringly obvious.

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: FTP using VSFTPD

Post by TrevorH » 2017/05/25 11:53:38

I believe that filezilla can connect over both ftp and sftp so check which method you are using. If sftp works then kill vsftpd completely.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply