Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Step-by-Step Configuration and Troubleshooting Best Practices for the NGFW, NGIPS and AMP Technologies A Visual Guide to the Cisco Firepower Threat Defense (FTD)
Community Member

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

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

Everyone's tags (1)
1 REPLY

I think the startup config

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

 

996
Views
0
Helpful
1
Replies
CreatePlease to create content