what ftp server is running
in my RHEL 4 server , I want to know what ftp server is running but can't find it.
I tried "ps -ef |grep ftp" but no output , chkconfig --list |grep ftp also no output related to ftp , /etc/rc.d/init.d can't find ftp service , ftp localhost is not allow . when use FileZilla to connect it , it is ok , the ftp should be running , I tried to use "ps -ef |grep ftp" , it pops the following output , would advise what ftp server is running in server ? thanks Code:
edp 11027 11026 0 12:39 ? 00:00:00 tcsh -c /usr/libexec/openssh/sftp-server |
probably netstat -ap will help
|
Not sure this applies to RHEL 4, but if it is handled by inetd look in /etc/inetd.conf and see what ftp line is enabled.
|
Quote:
I only have /etc/xinetd.conf , and checked , no ftp in this config file . Thanks ---------- Post added 04-14-15 at 01:26 AM ---------- Quote:
tried run netstat -ap , but no ftp service |
Just another guess, but try these...
Code:
service vsftpd status And still guessing vsftpd, you might open a session and look in... Code:
tail /var/log/vsftpd.log In fact |
Quote:
|
Post the output from...
Code:
netstat -tlnp | grep 21 |
Quote:
Else you could check your package list. rpm -qa and grep that for ftp |
As other already suggested but putting another possible way of using netstat:
Code:
netstat -ptan | grep LIST FTP port == 21 SFTP port == 22 |
Code:
$ sudo nmap -sV localhost |
Or the port is forwarded to another server running ftp service.
check iptables for rules. Code:
iptables -L |
Quote:
Look in /etc/ssh/sshd_config for Subsystem sftp /usr/lib/openssh/sftp-server vs. #Subsystem sftp /usr/lib/openssh/sftp-server |
Quote:
#rpm -qa |grep ftp lftp-3.0.6-8.el4 ftp-0.17-23.el4_6.1 does it mean lftp server is using ? |
All times are GMT -5. The time now is 04:07 PM. |