Error in ssh?

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

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

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

Comments

  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 -0600 )edit

rules are allowed in security group and ssh daemon also running

Eranachandran gravatar imageEranachandran ( 2018-10-24 04:17:04 -0600 )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 -0600 )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 -0600 )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 -0600 )edit