Install ftp server on Kali Linux


If you need to access ftp on your Kali machine for lab activity, type below command to check whether ftp is configured or not on your Kali machine. If below output comes, it shows you need to install ftp.

#ftp localhost

 

I am listing simple steps to configure ftp in Kali Linux.

Step 1: Install vsftp

#sudo apt-get install vsftpd 

 

Step 2: Start ftp server and check the status by using below commands.

#service vsftpd start
#service vsftpd status

 

Step 3: Access file /etc/vsftpd.conf by using editor (vim, nano etc.) and configure anonymous_enable to YES if you want to enable anonymous login else No (by default). I have configured as YES as I have enabled anonymous login.

anonymous_enable=YES

 

Step 4: Stop and Restart ftp service

#service vsftpd stop
#service vsftpd start

Step 5: Check Kali machine ip

#ifconfig

 

Step 6: Open browser and type ftp://192.18.198.132/. Browser prompt for password. Type anonymous as username and password.

 

You can check via terminal also. Type anonymous as login and password.

 

If similar screen comes as above, it shows you have installed ftp correctly.


Subscribe us to receive more such articles updates in your email.

If you have any questions, feel free to ask in the comments section below. Nothing gives me greater joy than helping my readers!

Disclaimer: This tutorial is for educational purpose only. Individual is solely responsible for any illegal act.

Comments:

Your email address will not be published. Required fields are marked *

 
error: