Error in ssh?

asked 2018-10-24 01:46:18 -0500

updated 2018-10-27 03:46:07 -0500

In my OpenStack ocata environment there are many Virtual Machines are running, but in this environment, there is one ubuntu VM not accepting ssh connection

edit retag flag offensive close merge delete


  1. check security-group for the project the VM is assigned to.
  2. is the ssh daemon running within the VM?
eblock gravatar imageeblock ( 2018-10-24 03:20:36 -0500 )edit

rules are allowed in security group and ssh daemon also running

Eranachandran gravatar imageEranachandran ( 2018-10-24 04:17:04 -0500 )edit

Then you'll have to trace the packets (e.g. tcpdump) and find out where they are dropped.

eblock gravatar imageeblock ( 2018-10-24 04:22:47 -0500 )edit

If you are able to access the vm console ( default via nova vnc ) , check if ssh services are running on the virtual machine locally , you can issue the command ssh localhost or telnet localhost 22 , if this is good then you need to perform network troubleshoot.

Mohit gravatar imageMohit ( 2018-10-27 11:12:51 -0500 )edit

The problem is firewall blocked 22 port after changed the ssh port that's working fine

Eranachandran gravatar imageEranachandran ( 2018-10-28 06:57:22 -0500 )edit