89
rated 0 times
[
89]
[
0]
/ answers: 1 / hits: 289240
/ 3 Years ago, sun, may 30, 2021, 6:08:46
I've searched all around and can't seem to find this... I'm trying to copy a private key to my local machine which is a Mac.
When I fire up terminal on my mac, I get
Jamies-iMac:~ jamie$
So after I ssh into my Ubuntu server I tried
scp /path/to/myfile.txt jamie@Jamies-iMac:/path/to/myfile.txt
which gives me:
ssh: Could not resolve hostname Jamies-iMac: Name or service not known
lost connection
In place of jamie@Jamies-iMac:/path/to/myfile.txt
I've tried some other variations but nothing seems to work. Thanks for your help.
More From » ssh