Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

SFTP Backup does not work for ACS 5.3

Hello,

We have ACS 5.3, and trying to set up sftp backup on freesshd server. SSH connection works, but ACS cannot copy backup file to sftp server, we get following errors:

Acs.MGMT.ACSVIEW Backup failed: CARS_XM_SSH_CONNECT : -306 : SSH connect error

FTP backup works fine.

Anyone has any idea what can be wrong?

1 REPLY
Community Member

SFTP Backup does not work for ACS 5.3

Hi

I faced the same issue and found a lot of hints; but what helped the most was:

One thing is that ACS does in fact use SCP (secure copy protocol) to transfer the files. Not every SFTP server does  support SCP.

And what finally guided to the solution: 

In ACS 5.1/5.2, when you create an SFTP repository using the url sftp://server/path and use the "root" username, the backup that you take gets stored in the root/path directory of this repository.

ACS 5.3 uses absolute path and for the same commands, the backup is stored in the /path directory.

You should have permission to access this directory.

derived from :

http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.3/command/reference/cli_app_a.html#wp1895920

I found that this is true for any user! That means that any user connecting to the server does not end up in its home-directory but in the root directory of the server, where it (hopefully) does not have write permissions.

==> the easiest way to solve that is to configure the absoltue path in the repository URL.

( eg:  sftp://SERVER_IP/home/acsuser/)

regards

Rainer

2677
Views
0
Helpful
1
Replies
CreatePlease to create content