cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

SCP Copy

William Coats
Level 1
Level 1

I am having trouble getting scp to work in my network.  They have set up a Ubuntu server as the file server and set it to use our Windows Active Directory credentials to log in.  I moved the IOS images to the data folder of the server and tried to copy a new IOS to my switch.  I used the following command to do the copy:

copy scp://username@10.x.x.x/data/cat3k_caa-universalk9.SPA.03.07.01.E.152-3.E1.bin flash:

 

I keep getting an error of "No such file or directory".

 

I then moved the file to my folder on the server, /home/local/Company/username, and changed the command to this:

copy scp://username@10.x.x.x/cat3k_caa-universalk9.SPA.03.07.01.E.152-3.E1.bin flash:

 

This works.  I don't want to have each person on the network team to have a copy of each IOS on the server.  I only want the current version we are using and in a folder that everyone can use.  How do I change the first command so it can change to the correct folder to find the file?

Who Me Too'd this topic