How to SSH from a Host to a Guest VM on your Local Machine
Published in
5 min readNov 9, 2019
Pre-requirements
- VirtualBox v6
- Download the Ubuntu 18.04 LTS image,
- Go to https://ubuntu.com/download/desktop,
- Download `Ubuntu 18.04.3 LTS`,
- Save as `ubuntu-18.04.3-desktop-amd64 .iso`
2. Create an Ubuntu VM in VirtualBox
- Open VirtualBox,
- Click the
New
button,
- Name the VirtualMachine ,
- For
Type
selectLinux
, - For
Version
selectUbuntu (64-bit),
- Click
Continue
,
- Increase
Memory size
to 4096MB, - Click
Continue
,