- Start the RSE2017 Fedora virtual machine from VirtualBox, log in as user
tutorial
using passwordtutorial
- In the VM, open a terminal and type
ifconfig
. Look for an entry that has aninet
value starting with10.
(mine is10.0.2.15
). We will use this value as Guest IP later. - In the terminal, start the SSH server with
sudo systemctl start sshd.service
- In VirtualBox, change the port forwarding settings, as follows:
- Go to menu item
Machine
- Go to
Settings
- Go to
Network
- On tab
Adaptor 1
, go toAdvanced
, click onPort Forwarding
- Click the
plus
icon to add a rule- Under
protocol
fill inTCP
- Under
Host IP
fill in127.0.0.1
- Under
Host Port
fill in2222
- Under
Guest IP
fill in the value we got fromifconfig
- Under
Guest Port
fill in22
- Under
- Go to menu item
- Outside the VM, open a terminal, type
ssh -p 2222 [email protected]
(type passwordtutorial
when asked). You should now be logged in to the RSE2017 VM.