cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
508
Views
0
Helpful
2
Replies

Unable to ssh to SFTP from ise 2.7

teamdv6199
Level 1
Level 1

I am trying to set up a back up for ISE to a SFTP server but I keep getting this  Repository SFTP-Repo could not be accessed. In case Backup was Restored on different setup, Please reconfigure the repository passwords (expected behaviour).

I can ping my sftp server. I added the below:

 

se/admin# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ise/admin(config)# repository MyRepository
ise/admin(config-Repository)# url sftp://10.1.1.1/

ise/adminconfig-Repository)# user <Username> password plain <Password>
ise/admin(config-Repository)# exit
ise/admin(config)# exit
ise/admin#

1 Accepted Solution

Accepted Solutions

The next step is to enable debugs to see what's going on

debug transfer 7

Then do another "show repo"

Sometimes the URL path is the issue - some SFTP servers put you in the home directory of the user account, and others don't - so play around with the path - e.g. if the user account is in /home/ftpuser  then try URLs like

url sftp://10.1.1.1/home/ftpuser

 

 

View solution in original post

2 Replies 2

teamdv6199
Level 1
Level 1

I keep adding  crypto host_key add host IP and when i do a show crypto host It returns nothing

The next step is to enable debugs to see what's going on

debug transfer 7

Then do another "show repo"

Sometimes the URL path is the issue - some SFTP servers put you in the home directory of the user account, and others don't - so play around with the path - e.g. if the user account is in /home/ftpuser  then try URLs like

url sftp://10.1.1.1/home/ftpuser