ssh:check_the_current_ssh_ports
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ssh:check_the_current_ssh_ports [2016/12/05 14:35] – created peter | ssh: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 | ||
- | </ | ||
- | |||
- | ...which should show something like: | ||
- | |||
- | < | ||
- | tcp 0 0 0.0.0.0: | ||
- | tcp 0 0 192.168.0.11: | ||
- | tcp6 | ||
- | </ | ||
- | |||
- | The 0.0.0.0 in the first line indictes that SSH is listing on all ports. | ||
- | |||
- | The 2nd line can be ignored. | ||
- | |||
- | 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)