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

Thu Aug 4 23:52:25 UTC 2016
Monty Shinn <monty.shinn.gm at gmail.com>

A few things you might try:

1. Verify ssh is listening:

netstat -antp | grep :22 | grep -i listen

2. Verify you can ssh locally:

ssh localhost

3. Try to telnet to ssh port:

telnet <ipaddr> 22

4. run nmap against the ipaddress to verify port 22 is seen.

Hope this helps.

Regards,

Monty


On 08/04/2016 06:36 PM, reynierpm at gmail.com wrote:
> I have installed a new CentOS 7 minimal virtual machine in Vmware
> Workstation. I have disabled the firewall by running:
>
> *systemctl disable firewalld* => this one for disable it permanently (I
> don't need it since it's a VM for development)
> *systemctl stop firewalld* => this one for stop the service
>
> I have set SELinux to be permissive.
>
> SSH is up and running as the output from: *service sshd status*
>
> But I can't connect trough SSH, I am missing something?
> Thanks in advance
>
> *Reynier Perez Mira*
> Phone: (786) 5807572
> EMail: reynierpm at gmail.com
>
> [image: Facebook] <https://facebook.com/ReynierPM> [image: Github]
> <https://github.com/reypm> [image: Google+]
> <https://plus.google.com/u/0/+ReynierP%C3%A9rezMira> [image: Twitter]
> <https://twitter.com/reypm> [image: LinkedIn]
> <https://www.linkedin.com/in/reynierpm>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos