03-20-2017 08:33 AM - edited 03-12-2019 02:05 AM
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
04-12-2017 05:02 PM
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***
06-25-2018 01:31 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide