cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4323
Views
5
Helpful
2
Replies

Unable to copy the Files from SFTP server to ASA Firewall 5545

Hi Everyone,

It would be a great help to me, if someone can address this problem

Situation: Trying to copy the file from SFTP server to ASA firewall 5545 disk0: 

Problem: Getting the error messgae as permission denied

Procedure that I followed:

1. configured the command "ssh scopy enable" on the firewall

2. Installed the solarwinds STFP server on the windows server and added the user that has all the permissions (write , read, execute, modify and delete) on it

3. Used the commands copy scp: disk0:

address of the remote host[]? x.x.x.x

source username []? user name that was added in the step 2 on the SFTP server

4. Source file name []? xyz

5. destination filename []? xyz

Error displayed as "%Error opening scp:/username@serverIP/xyz (Permission denied)"

Thank you,

Sameetha

2 Replies 2

agapitca19
Level 1
Level 1

sameetha,

Try putting an access rule for port 22 on the ASA security interface inbound where the scp server will be coming from.

Also, have you tried sftp or tftp(assuming you have correct access rules too for these protocols)?

***please rate and mark the comment correct if you find it helpful***

Peter Koltl
Level 7
Level 7

To use secure copy, first enable secure shell (SSH), and then enter the following command:

hostname# ssh scopy enable

 

From a Linux client, enter the following command:

scp -v -pw password filename username@asa_address

 

The -v is for verbose, and if -pw is not specified, you will be prompted for a password.

Review Cisco Networking for a $25 gift card