๐Ÿ‘ฌConnecting via SSH

  1. If we want to connect via SSH we must close the machine and go to settings.

  1. Once there we will click on Network, click on Advanced so it shows more options, then we click on Port fowarding.

  1. Click on the emoji for adding a new rule.

  1. Lastly we will add the 4242 port to host and client. The IP's are not required. We will click accept so changes can be saved.

  1. To connect via SSH from our machine to the virtual machine, use the command

ssh <user>@localhost -p 4241

It will ask for the password of the user that we are trying to log in with. Once the password is entered, it will show our login in green, which means that the connection has been successful.

Last updated

Was this helpful?