How to solve these challenges:
To be consistent with the filenames and paths run the commands on Ubuntu
Write your solution in a terminal and test it.
If your solution is not correct, then try to understand the error messages, watch the video again, rewrite the solution and test it again. Repeat this step until you get the correct solution.
Save the solution in a file for future reference or recap.
Challenge #1
Start 2 Linux VMs with the network in bridged mode and check that they are reachable using ping.
Are you stuck? Do you want to see the solution for this challenge? Click here.
Challenge #2
Install OpenSSH on one Linux VM, check the service status and then connect to it using the ssh client from the other Linux VM.
Are you stuck? Do you want to see the solution for this challenge? Click here.
Challenge #3
Secure the SSH Daemon:
change the listening Port to 2266
allow only a single non privileged user to connect to the SSH server.
Disable root login entirely.
Are you stuck? Do you want to see the solution for this challenge? Click here.
Challenge #4
Create a directory and a file in the user’s home directory.
Using scp, copy both the file and the directory to the remote Linux VM where the SSH daemon is running.
Are you stuck? Do you want to see the solution for this challenge? Click here.
Challenge #5
Using scp, copy a file from the remote VM where the SSH daemon is running to the local machine, in the current directory.
Are you stuck? Do you want to see the solution for this challenge? Click here.
Challenge #6
Solve the last 2 challenges using rsync instead of scp.
Are you stuck? Do you want to see the solution for this challenge? Click here.