[CentOS] Can't connect trough SSH to a new fresh CentOS 7 minimal server

Fri Aug 5 10:24:22 UTC 2016
Tony Mountifield <tony at softins.co.uk>

In article <f1ccc75a-62b5-b7a5-67da-371a281271f0 at gmail.com>,
Monty Shinn <monty.shinn.gm at gmail.com> wrote:
> A few things you might try:
> 
> 1. Verify ssh is listening:
> 
> netstat -antp | grep :22 | grep -i listen

netstat -lntp | grep :22

If you give -l instead of -a, it only shows listening sockets.

Just a useful hint - it was ages before I discovered that!

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org