Vmware 15 or more to achieve the host SSH connection a Linux virtual machine
I. Introduction
Since some operations a plurality of times to switch between the virtual machine and the host Vmware, very inconvenient, the tool 15 incorporates SSH Vmware, as long as these operations can easily control virtual machine by SSH.
Second, the host configuration
1. Windows 10
Windows within Windows PowerShell 10 pre-installed SSH software instantly using the following command, enter a password to SSH connect virtual machines:
ssh <虚拟机用户名>@<虚拟机IP地址>
2. Other less version of Windows
You can download Putty to connect, using the tutorial PuTTY installation and tutorial .
3. Linux
Linux in general will be pre-installed openssh-client, remote connection to the host, the command with Windows 10.
Three, Linux virtual machine
Linux in general will be pre-installed openssh-client, but did not install openssh-server.
Here installed directly ssh:
sudo apt install ssh
Then sudo reboot
restart the virtual machine, you can use the ssh remote host connection.
Four, Caution
First use ssh to connect remotely to any other host in the host will prompt can not determine the authenticity of the remote host, you will be asked whether to generate identity key:
The authenticity of host '192.168.0.160 (192.168.0.160)' can't be established.
ECDSA key fingerprint is SHA256:feX8NTLWB1eKQ/2ieiVc8p1eCB13MkmUoYyuM5lfXfA.
Are you sure you want to continue connecting (yes/no)?
At this input yes
can be.