cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1027
Views
0
Helpful
5
Replies

Cisco ASA SCP Backup failed

Marco Serato
Level 1
Level 1

Hello Community
I would like to transfer the ASA backup to a server via SSH using the "backup" command.
However, this fails because the host key cannot be validated.
Unfortunately, I have not found anything how to accept the host key.
Does anyone know the problem:

 

Copying Backup ...The authenticity of host '10.10.10.10 (10.10.10.10)' can't be established.
Hostkey fingerprint is <19:8a:...:baa(SHA256).
Host key verification failed.

%Error opening scp://backupuser:<password>@10.10.10.10/ASA.backup.2023-12-07-150018.tar.gz (Permission denied)ERROR: Resource temporarily unavailable

 

Greetings Martin

2 Accepted Solutions

Accepted Solutions

Ssh scopy enable 

Then

Ssh public key chain 

Server x.x.x.x

Key-string

Add key here

MHM

View solution in original post

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

i see couple of issue :

Host key verification failed.   - check the Ciphers

(Permission denied)ERROR: Resource temporarily unavailable  - make sure you use ssh v2 required ciphers

This show me either you do not have write to folder you looking to write ?

from ASA are you able to reach the destinatio ping ?

what is the logs you see on the destination ? what SCP Server ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Ssh scopy enable 

Then

Ssh public key chain 

Server x.x.x.x

Key-string

Add key here

MHM

Thank you very much.
It was indeed the missing public key chain. Since "ssh stricthostkeycheck" was activated, this was checked.

Alternatively, the check can also be deactivated, but this is not advisable.

Friend you are so so welcome 

Have a nice day 

MHM