cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2168
Views
0
Helpful
1
Replies

Cisco ASA 5520 - how to download startup-config with putty's pscp

nw-support
Level 1
Level 1

Good day,

I am curious where a startup-config is being stored.I try securely download startup-config to windows C:\Temp file, but FW is disconnecting pscp request.
Our Cisco ASA has single mode context.

When I try to download any file located in disk0:/ I am able to.
C:\Program Files\PuTTY>pscp.exe -scp -v admin@XXXX:/asa.bin C:\Temp\

But when I try startup-config, or startup.cfg:
C:\Program Files\PuTTY>pscp.exe -scp -v admin@XXXX:/startup-config C:\Temp\

Using username "admin".
admin@XXXXX's password:
Sent password
Access granted
Opened channel for session
Started a shell/command
Using SCP1
Connected to XXXXX

Server sent command exit status 0
Disconnected: All channels closed
Lost connection

C:\Program Files\PuTTY>

 

 

Please advice how can I download startup-config with pscp.
Thank you
Please contact me on jozef.skulavik@gmail.com

 

Regards,
Jozef

1 Reply 1

James Leinweber
Level 4
Level 4

I think the startup config may be in hidden NVRAM.  Try logging into the firewall and doing

   copy startup-config export.txt

first, and then use the Putty pscp.exe client on export.txt.  You'll have to explicitly specify the destination file name, in my experience, e.g.

  pscp.exe -scp -v admin@XXXX:/export.txt C:\temp\export.txt

-- Jim Leinweber, WI State Lab of Hygiene

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: