Setup FTP Server step by step in CentOS 6.docx - Setup SFTP...

This preview shows page 1 - 3 out of 9 pages.

Setup SFTP Server stepby step in CentOS 6.5This tutorial shows you how to install and configure SFTPserver in CentOS 6.5. Though the steps provided here aretested in CentOS 6.5, it should work on RHEL 6.x(x standsfor version) and Scientific Linux 6.x too. In this tutorial myftp server ip and hostname are 192.168.1.200 andmainserver.mtsclass.com respectively. I have alreadyconfigured a local repository and I am going to install SFTPfrom my local repository. For more information navigateto setup your local repository in CentOS 6 / RHEL 6 /Scientific Linux.Before proceed, stop the firewall.[[email protected] ~]# service iptables stopiptables: Flushing firewall rules: [ OK ]iptables: Setting chains to policy ACCEPT: filter [OK ]iptables: Unloading modules: [ OK ][[email protected] ~]# service ip6tables stopip6tables: Flushing firewall rules: [ OK ]ip6tables: Setting chains to policy ACCEPT: filter [OK ]ip6tables: Unloading modules: [ OK ][[email protected] ~]# chkconfig iptables of[[email protected] ~]# chkconfig ip6tables ofNow let us install SFTP service.
[[email protected] ~]# yum install -y vsftpd[[email protected] ~]# service vsftpd startStarting vsftpd for vsftpd: [ OK ][[email protected] ~]#Enable vsftpd in multi-user levels.[[email protected] ~]# chkconfig vsftpd onNow edit the /etc/vsftpd/vsftpd.conf file. Uncomment andedit the lines in the vsftpd.conf file which are shown inbold.[[email protected]~]#cat /etc/vsftpd/vsftpd.conf# Example config file /etc/vsftpd/vsftpd.conf## The default compiled in settings are fairly paranoid.This sample file# loosens things up a bit, to make the sftp daemon moreusable.# Please see vsftpd.conf.5 for all compiled in defaults.## READ THIS: This example file is NOT an exhaustive listof vsftpd options.# Please read the vsftpd.conf.5 manual page to get a fullidea of vsftpd's# capabilities.## Allow anonymous FTP? (Beware - allowed by default ifyou comment this out).

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 9 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
NoProfessor
Tags
File Transfer Protocol, SSH file transfer protocol, Comparison of FTP client software

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture