How To Check Which Port Is Listern or Open on Linux

Friday, September 12th, 2008

For some security reason you may configure SSH or any other protocol using different kind of port number on Linux server. Sometimes it’s important to know which ports are actually listern or open to the system network, it may open for network instruction or hacking.
Basically there are few methods to see which ports are [...]

How To Check Number of SSH and Telnet session

Wednesday, June 11th, 2008

How to check number of Telnet/SSH session:
Telnet
netstat | grep telnet -c
netstat -n | grep :23 -c

SSH
netstat |grep ssh -c
netstat -n | grep :22 -c

Possibly Related Posts:

RSS Feed Submissions
Geo Positions
Interesting about Google Suggest
Setup a Linux Highly Availability NFS servers
How to find empty folders on Linux

Inactive TELNET session timeout

Wednesday, June 11th, 2008

The previous post about “Why Telnet Not Working From Different Network” solved my stupid mistake and I have discover another interesting regarding telnet.
Normally if anyone ‘telnet’ to server box and inactive(mean without login) for 60 seconds, the system will keep disconnect automatically. Due to certain reasons, I have to extend the inactive telnet session [...]

Why Telnet Not Working From Different Network

Friday, May 30th, 2008

Due to certain reason, I have to enable telnet services on one of my server for some testing today. In fact, I know telnet is NOT secure but who care?
First of all, edit “/etc/xinetd.d/telnet“, modify “disable =no” and restart XINETD with “/etc/init.d/xinetd restart” command. Run “netstat -nap |grep 23” to make sure port 23 is [...]