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@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
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@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@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@centos.org https://lists.centos.org/mailman/listinfo/centos
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: reynierpm@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
On Thu, Aug 4, 2016 at 7:52 PM, Monty Shinn monty.shinn.gm@gmail.com wrote:
A few things you might try:
- Verify ssh is listening:
netstat -antp | grep :22 | grep -i listen
- Verify you can ssh locally:
ssh localhost
- Try to telnet to ssh port:
telnet <ipaddr> 22
- run nmap against the ipaddress to verify port 22 is seen.
Hope this helps.
Regards,
Monty
On 08/04/2016 06:36 PM, reynierpm@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@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@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
In article f1ccc75a-62b5-b7a5-67da-371a281271f0@gmail.com, Monty Shinn monty.shinn.gm@gmail.com wrote:
A few things you might try:
- 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