I am trying to enable ssh between two VMs. I am able to ssh on port 130 but not on port 22. I have already installed openssh-server and also executed
sudo service ssh status sudo service ssh start
I have also enabled port 22 using ufw allow 22
. But it still does not work.
When I do an ssh it gives a ssh: connect to host <hostname> port 22: Connection refused