01-13-2013 02:30 PM - edited 03-04-2019 06:42 PM
I'm trying to figure out how to copy a file from scp on a linux box to flash on my router. I've got scp server configured on the router and can copy the running-config from the router and to the router using the following
scp running-config user@192.168.1.1:running-config
what I'm looking to do is copy files to the flash on the router I tried this
scp filename user@192.168.1.1:/flash/filename
which doesnt work says file does not exist or something like that. Is there a trick or something I'm missing in the path to get it over to the flash drive? Any help would be great.
Thanks
troy
Solved! Go to Solution.
01-13-2013 03:25 PM
you are using the wrong syntax. It's:
scp Source User@192.168.1.1:flash:/Destination
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
01-13-2013 03:25 PM
you are using the wrong syntax. It's:
scp Source User@192.168.1.1:flash:/Destination
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
01-13-2013 03:28 PM
Thanks Karsten! I tried that lastnight for some reason it wasnt working but today it worked. You are great thanks for the quick reply!
01-22-2024 10:32 AM
I need to do the reverse: Copy a file from compact flash location to my home drive on a Linux jump server. What's the syntax for that?
Show tech output available at 0/7/CPU0 : compactflash:/showtech/showtech-file.tgz
01-31-2024 07:01 AM
What you will be needing is
copy compactflash:/showtech/showtech-file.tgz scp:
Then this will prompt you for the following:
- IP Address
- Destination Filename
- Username
- Password
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide