I have to ssh into two VMs. The first VM is configured to be sshed into via port 22 by default. But what changes do I make and where to ssh into second VM from host terminal. even when I close the first VM login, I cannot ssh into VM_2 via port-22.
I'm using the command
ssh vm_2@ip_address -p port_number
EDIT:
Error msg:
ssh: connect to host 192.xxxxxxxxxxx port 22: Connection refused