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

2016-08-05 Thread Tony Mountifield
In article , Monty Shinn 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! Cheer

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

2016-08-04 Thread reynie...@gmail.com
Ohhh it was my bad, this VM has two interfaces and the one I was trying to reach was down so NEVER it will respond. Anyway thanks for the time *Reynier Perez Mira* Phone: (786) 5807572 EMail: reynie...@gmail.com [image: Facebook] [image: Github]

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

2016-08-04 Thread Monty Shinn
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 22 4. run nmap against the ipaddress to verify port 22 is seen. Hope this helps. Regards, Monty On 08/04/

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

2016-08-04 Thread reynie...@gmail.com
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