This answer must exist somewhere as it's so basic, but I can't find it.
I have a file on my local computer that I want to copy to a remote host. I know how to use scp, but if I do it from my local host to the remote host, I get a permission error. I can log in to the remote host with root privileges, but I don't know how to identify my local machine (I tried both the internal and external IP addresses and timed out both times). Either method would work for me (although ideally I'd like to know how to do both!)
This is part of an exercise to learn Linux better, so if I'm not presenting the necessary information please let me know what's specifically needed and I'll do my best to elaborate.
(Bonus question: Would love any recommendations for good Linux resources!)