[c-nsp] scp running/startup config

Tim Durack tdurack at gmail.com
Sat Nov 22 11:33:43 EST 2008


On Sat, Nov 22, 2008 at 10:48 AM, Tim Durack <tdurack at gmail.com> wrote:
> On Sat, Nov 22, 2008 at 9:55 AM, Bjørn Mork <bjorn at mork.no> wrote:
>> "Tim Durack" <tdurack at gmail.com> writes:
>>
>>> Does anyone know if it is possible to scp startup/running configs off
>>> a router? This doesn't seem to work:
>>>
>>> unix> scp manager at router:/nvram/running-config backup
>>
>> c2612b#conf t
>> Enter configuration commands, one per line.  End with CNTL/Z.
>> c2612b(config)#ip scp server enable
>
> That was it. I'm still recovering from the SXH scp bug...
>
>>
>> bjorn at canardo:~$ scp c2612b.lab:running-config .
>> bjorn at c2612b.lab's password:
>> running-config                     100% 6945     6.8KB/s   00:00

Amazing:

usziplab001:~/config/Core# !scp
scp acl.txt tdurack at router:running-config
Password:
acl.txt                                  100% 1694     1.7KB/s   00:01

I can dump a bunch dumb expect scripts now.

If Cisco supported ssh keys life would be even better...

Tim:>


More information about the cisco-nsp mailing list