Homework 5: ssh, scp, rsync#
Due Date: Tuesday, October 6, 2026
[Web access to Ravada portal with authentication] ===> [Start VM] ===> [Access VM via SSH with provided port]
Log into your Virtual Desktop (VD).
Create a working directory named
HW_5:mkdir HW_5 cd HW_5
Inside the
HW_5directory, create a file namedREADME.Document all commands used to complete the following exercises inside your
READMEfile.
Make SSH service working on both master and n01#
Remove the SSH password authentication restriction configuration file:
sudo rm /etc/ssh/sshd_config.d/60-cloudimg-settings.conf
Restart the SSH service:
sudo systemctl restart sshd
Using SSH, scp, and rsync#
Set private/public SSH key authentication for user
hostadmto enable SSH access betweenmasterandn01.Have user
hostadmdownload thevim.debpackage onmaster.Extract the
.debfile contents into a new directory namedVIM.Using recursive
scp(with the-roption), copy the subdirectorydocfromVIM/usr/shareto the home directory of userhostadmonn01.Using
rsync, copy the subdirectorydocto the/tmpdirectory onn01.