A Scenario Which Depict Vsftpd
I Downloaded Vsftpd, Install and Config Based on This Link How to Set up an Ftp Server in Ubuntu Linux on My Ubuntu 12.04. but the Question Is How to Test...
I downloaded vsftpd, install and config based on this link How to Set up an FTP Server in Ubuntu Linux On my Ubuntu 12.04. But the question is how to test that?
I want to learn how to use vsftpd and I am looking for an easy graphical step by step scenario to learn that. Like a scenario which include client and server by using virtual box?
How to download a file from Ubuntu_2 in Ubuntu_1. Which both are virtual OS in Virtual box
4 Answers
Server side
Check service status
sudo service vsftpd statusCheck its running processes
ps ax | grep vsftpd(Command to: list all processes then filter output for vsftpd line)
or you can use a loop to monitor its processes:
while sleep 1 ; do clear ; ps ax | grep vsftpd ; done(Command to: wait 1 second, clear shell screen, list all processes then filter output for vsftpd line, loop again as sleep always return succefully)
Check port status related to vsftpd process
netstat -lnp | grep vsftpd(Command to: list all listening ports with port number and process id (PID) owning it then filter output for vsftpd line)
Monitor server log (
tailwith-fto follow log updates and monitor vsftpd)$ tail -f /var/log/vsftpd.log Fri Apr 25 18:43:28 2014 [pid 2026] CONNECT: Client "127.0.0.1" Fri Apr 25 18:45:01 2014 [pid 2025] [sneetsher] OK LOGIN: Client "127.0.0.1"