I am ssh'd into a computer. There is a file on the home directory I would like to copy to my local computer. I tried running
scp readme brian@HomeLenovo:/home/Documents/cp_readme
where brian@HomeLenovo is my peronsal laptop, but I keep getting the error
ssh: Could not resolve hostname homelenovo: No address associated with hostname
lost connection
I assume this is because the computer I am ssh'd into doesn't "know" about my computer or what that hostname references - how can I resolve this without installing anything or making changes to the computer I am ssh'd into?
scp brian@remoteMachine:/path/readme /home/Documents/cp_readme
from your homeLenovo machine. You can also use fuse-mounts to make this process less burdensome. – Quasímodo Feb 11 '21 at 14:07