Host A wants to connect to the Ubuntu virtual machine in another host B through ssh, the steps are as follows:
- The Ubuntu virtual machine in host B installs openssh and starts the ssh service.
- The virtual machine network mode is selected as bridged .
- To determine the ip address of host B, use the ip addr command. What you get is an ip starting with 10.
- Host A connects to this ip via ssh.