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

Unanswered Question
May 28th, 2014
User Badges:

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 [email protected]:/asa.bin C:\Temp\

But when I try startup-config, or startup.cfg:
C:\Program Files\PuTTY>pscp.exe -scp -v [email protected]:/startup-config C:\Temp\

Using username "admin".
[email protected]'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 [email protected]

 

Regards,
Jozef

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
James Leinweber Thu, 05/29/2014 - 17:05
User Badges:
  • Silver, 250 points or more

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 [email protected]:/export.txt C:\temp\export.txt

-- Jim Leinweber, WI State Lab of Hygiene

 

Actions

This Discussion

Related Content