1 / 13

Configuring a LAN FTP Client

Configuring a LAN FTP Client. Chapter 17 & 19. Setting up the physical layer. Chapter 17 covers the basics of hubs, switches, routers and WAPs. Configuring the systems. Kudzu: detects NIC and configures new hardware System-config-network. FTP: Transferring Files Across a Network.

freya
Download Presentation

Configuring a LAN FTP Client

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Configuring a LAN FTP Client Chapter 17 & 19

  2. Setting up the physical layer • Chapter 17 covers the basics of hubs, switches, routers and WAPs.

  3. Configuring the systems • Kudzu: detects NIC and configures new hardware • System-config-network

  4. FTP: Transferring Files Across a Network Chapter 19

  5. FTP Introduction • File Transfer Protocol • ftp – not secure • sftp – component of OpenSSH • vsftpd – server side runs without the use of the root security context

  6. FTP Client • Connecting to the server • ftp hostname • View files with the “ls” command as you would normally do • Navigate using “cd”

  7. FTP: moving files • “put” command • Command for uploading from the client to the server • put timesheet.xls • “get” command • Downloads from the server • get memo.txt

  8. FTP commands • Working with multiple files • mget command can be used to retrieve multiple files • mget * - will retrieve all files in a directory • mget *.doc will get all MSWord docs • You will be prompted to confirm mget commands. You can shut this off with the “prompt” command

  9. Other useful FTP commands • lcd [local_directory]- allows you to control the directory you are working from/to • delete file_name – allows you to delete the file on the server (mdelete = multiple) • pwd – print working directory of server • !pwd – print working directory of local host • bye – leave the server (also quit)

  10. FTP Server Side • Prereqs: • Install ftp server package (vsftpd) • Configure ftp server to start when system enters multiuser mode • # /sbin/chkconfig vsftpd on • Start vsftp • # /sbin/service vsftpd start • To test status - # /sbin/service vsftpd status

  11. Anonymous FTP • By default users log onto the ftp server with anonymous access. • When connected the default working directory on the server will be “/var/ftp” • For the ftp session this will be considered the user’s home directory on the server. • The user will only see that they are in “/” • This is referred to as “chroot jail”

  12. ftp put permissions • Before any user can upload they will require write permissions on the directory • Chmod will work here for that purpose

  13. Exercise • Take a moment to google some poplar ftp client software • What are some popular ftp server programs? • Install the vsftpd package on you machine and test

More Related