I have an SCP script I use to push out ios upgrades. When you run the command on the router itself after it erases the flash it ask you for a password to load the ios. In the script it gets as far as erasing the flash but thats it. It never prompts you for a password. Any suggestion would be appreciated. Heres the script I'm using.
copy scp: flash:
10.1.103.109
swind
c2600-advipservicesk9-mz.124-8.bin
c2600-advipservicesk9-mz.124-8.bin
y
Heres the log output.
copy scp: flash:
10.1.103.109
Address or name of remote host []?
swind
Source username [cwks]?
c2600-advipservicesk9-mz.124-8.bin
Source filename []?
c2600-advipservicesk9-mz.124-8.bin
Destination filename []?
y
Erase flash: before coping? [confirm]
Erasing the flash filesystem will remove all files! Continue? [confirm]
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased
Erase of flash: complete
4/30/2009 10:46:11 AM : Completed IOS Upgrade : Job-378568 ; Devices : 1 ; Errors : 0
Execution time : 47 seconds