User Tools

Site Tools


ssh:check_the_current_ssh_ports

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ssh:check_the_current_ssh_ports [2016/12/05 14:35] – created peterssh:check_the_current_ssh_ports [2019/12/04 21:19] (current) – removed peter
Line 1: Line 1:
-====== SSH - Check the Current SSH Ports ====== 
- 
-Issue the following command: 
- 
-<code bash> 
-sudo netstat -na|grep tcp 
-</code> 
- 
-...which should show something like: 
- 
-<code> 
-tcp        0      0 0.0.0.0:22              0.0.0.0:              LISTEN 
-tcp        0      0 192.168.0.11:22         192.168.0.184:39662     ESTABLISHED 
-tcp6            0 :::22                   :::                   LISTEN 
-</code> 
- 
-The 0.0.0.0 in the first line indictes that SSH is listing on all ports. 
- 
-The 2nd line can be ignored.  This is simply the current connection. 
- 
-Similarly, the **:::** in the 3rd line indicates that SSH is listing on all ports with IPV6. 
  
ssh/check_the_current_ssh_ports.1480948504.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki