Re: Can't connect trough SSH to a new fresh CentOS 7 minimal server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx 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@xxxxxxxxx

[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@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux