I'm on a Mac running Catalina. I have a file on a remote server that I want to do things with on my local machine; I want to do it so that I am moving from remote to local.
I looked at this post, this post, and many similar online resources and saw that I need to use my username and address, and then a filepath; what I am wondering is how I find these, and which I use? I have only seen "replace-with-your-info" templates, but not examples of what it should look like.
I am asking about this part
, but with my information replaced with the generic info.
When I tried ifconfig, several blocks of phrases and numbers came up; which should I use (if any)? I also don't know how to find my username, nor what my path should look like (should the username be the full result of the hostname command, and the start of the path the result of printing the working directory from home (~)?)
Are there commands I can input into the command line that will give me these directly, or give me a formatted string of what my (local) specific part should look like?
I am asking for remote to local because my privileges on the remote are more limited, although I am open to hearing about similar things on that end as well.