linux_ftp


Purpose of Class

  • This class teaches students how to remotely administer their Linux servers using SSH, and to be able transfer files to and from the server using FTP.

Topics Covered

  • Install SSH
  • Connecting to Server Using a Terminal Emulator
  • Installing vsftpd for FTP
  • Connecting to vsftpd using a FTP Client

Class Notes

  1. SSH – Secure Shell
    1. Install SSH on Server = sudo apt-get install ssh
    2. SSH Requires Port 22
    3. Use a Terminal Emulator to Connect to the Server (PuTTy)
  2. FTP – File Transfer Protocol
    1. Install FTP Server = sudo apt-get install vsftpd
    2. Edit vsftpd Configuration Files = sudo vim /etc/vsftpd.conf
    3. Uncoment #local_enable=YES to Allow Local Users to Login
    4. Uncomment #write_enable=YES to Allow File Uploads
    5. To Restart vsftpd Service = sudo service vsftpd restart
    6. Use an FTP Client to Connect to FTP Server (FileZilla)

Resources