How can I SCP from a remote computer to my local SCP when I'm not outside my home network?


username

While I understand how to send files from inside my home network to a server or from a server to an internal server, how do I send a file from the server to the local machine when I'm outside, say Starbucks?

In this case, while I can scp from my local computer to the server, I haven't figured out how to get the file from home using the command line. Any suggestions?

Sirex

The way the question is asked is very confusing, but if you can copy from your local machine to the server, there is another approach, which is to flip the command line order.

its scp [from] [to]

scp user@homeip:/path/to/files/local/path/

Related


How can I SCP from remote computer to local SCP?

jump I know similar questions have been asked here , but I do read them. However, I still cannot copy the file from the remote computer into the local computer. or directory" This is my job. I open a terminal on MacOS, log into the remote computer, and cdgo to

How can I SCP from remote computer to local SCP?

jump I know similar questions have been asked here , but I do read them. However, I still cannot copy the file from the remote computer into the local computer. or directory" This is my job. I open a terminal on MacOS, log into the remote computer, and cdgo to

Can I tell if I'm in an scp session in my .bashrc?

Wesley Bland Inside of me .bashrc, I'm doing a bunch of magic that causes problems when I try to do one scp. The solution I've been using is to manually ssh to the target machine, disable my .bashrc, perform a copy, and then re-enable my .bashrc. Is there a wa

How do I run my local app on devices outside of my home network?

Stephen Alves Now, I can successfully run my react-native app on the device (iPhone/iOS). However, I have to be connected to WI-FI for this to work (no need to plug in via USB). When I disconnect from WI-FI, the app will no longer work on the phone. It doesn't

How do I run my local app on devices outside of my home network?

Stephen Alves Now, I can successfully run my react-native app on the device (iPhone/iOS). However, I have to be connected to WI-FI for this to work (no need to plug in via USB). When I disconnect from WI-FI, the app will no longer work on the phone. It doesn't

How do I run my local app on devices outside of my home network?

Stephen Alves Now, I can successfully run my react-native app on the device (iPhone/iOS). However, I have to be connected to WI-FI for this to work (no need to plug in via USB). When I disconnect from WI-FI, the app will no longer work on the phone. It doesn't

How do I run my local app on devices outside of my home network?

Stephen Alves Now, I can successfully run my react-native app on the device (iPhone/iOS). However, I have to be connected to WI-FI for this to work (no need to plug in via USB). When I disconnect from WI-FI, the app will no longer work on the phone. It doesn't

How can I elevate my gcloud scp and ssh commands?

red 888 I want to be able to use gcloud to trigger commands on my instance as it handles the auth for me. This works great, but how do I run them with sudo/root access? For example, I can copy files into my account folder: gcloud compute scp --recurse myinst:/

How can I elevate my gcloud scp and ssh commands?

red 888 I want to be able to use gcloud to trigger commands on my instance as it handles the auth for me. This works great, but how do I run them with sudo/root access? For example, I can copy files into my account folder: gcloud compute scp --recurse myinst:/

How can I elevate my gcloud scp and ssh commands?

red 888 I want to be able to use gcloud to trigger commands on my instance as it handles the auth for me. This works great, but how do I run them with sudo/root access? For example, I can copy files into my account folder: gcloud compute scp --recurse myinst:/