Page 1 of 1

How to SCP between router and localhost

Posted: Tue Mar 08, 2022 9:28 pm
by ninjanoir78

Hi,

I would like to copy File with SCP in script.
I explain here, from router ssh session, the script is running from router, i need to SCP to my PC, and take the file to my router.

But what I try does not work, cause I can't exit from my script or I cant stop router ssh session to SCP PC to router.
I need to stay in my router session and take file and bring it back, is it possible?


Re: How to SCP between router and localhost

Posted: Wed Mar 09, 2022 2:29 am
by Flash

What is SCP?


Re: How to SCP between router and localhost

Posted: Wed Mar 09, 2022 7:03 am
by Clarity

SCP ... Secure Copy???

If that is the intent of moving a file from/to a remote, seems that rsync is a better option as its cli command structure is more intuitive in use and solution.

No SSH needed.