Thank you Eric. mfa -----Original Message----- From: Eric [mailto:eric@cisu.net] Sent: 19 Maret 2003 0:42 To: Muhammad F. Adam; suse-linux-e@suse.com Subject: Re: [SLE] telnet and ftp status On Monday 17 March 2003 03:49 am, Muhammad F. Adam wrote:
Dear all,
How can I find out my telnet and ftp daemons is running or not? I use SuSE 7.1
Warm regards,
mfa
If you are on the local machine try netstat -tupan and look for a program listening on port 21 (ftp) and 23 (telnet). You could also try telnet localhost 21. If you do not recieve a connection refused message then something is listening on that port. You can also do telnet localhost 23 to check for telnet. YOu can also do this remotely telnet *host or ip address* 21.. etc. etc. I often use telnet as a simple test to see if a tcp port is open. Its crude i know, but it gets the job done. No connection refused = machine is listening! BTW please do not use telnet unless you absolutely must. Its inherently insecure. Use SSH instead. It provides the same basic funtionality with MUCH more security. Also you can use sftp which will let you login and transer files over ssh. If you are using SuSE you might already have it installed. If you do not its a few RPM's away so you can have a MUCH more robust and secure system. -- #------------------------ #Eric Bambach #Eric@CISU.net #------------------------