Technofunction

Overview of FTP in Linux

FTP is a File Transfer Protocol which helps you to download or upload your files to server securely from a remote location.

FTP uses a virtual login to server and is security enabled.

FTP is shipped in Linux with a package named “vsftpd”. You may install the vsftpd package using the yum. you might want to check my earlier post on making a local yum repository or a public yum repository.

The DAEMON i.e (Disk and execution Monitor) for FTP is /usr/sbin. Through Daemon you may start or stop the service.

Some other useful information about FTP is

Type:- system v-managed service (standalone service).

Ports:- ftp(121) and ftpdata(20)

Package:- vsftpd

Daemons:- /usr/sbin/vsftpd .

Document:- /var/ ftp/ pub

Configuration file:-

  • /etc/vsftpd/vsftpd.conf      (main configuration file)
  • /etc/vsftpd/user_list           (user list not allowed to login through ftp)
  • /etc/vsftpd/ftpuser              (Second configuration file with user list)

You would need to deselect the user e.g. root , from both the file listed above in order to login through the FTP.

Once FTP configured you may login to Remote Linux server using FTP client like filezilla.

You may login as “anonymous” user through FTP but it is not recommended. Always maintain a separate FTP user list in order to authenticate through FTP.

One Response to “Overview of FTP in Linux”

  1. [...] might want to go through my previous post on Overview of FTP on Enterprise Linux convering all the basic details which will be used in configuring an FTP in [...]

Leave a Reply