02-06-2019 01:17 PM
I have created a new SFTP repository on a ISE 2.3 Patch 4 primary admin node both in the CLI and GUI and run the
Crypto host-key add host URL_of_SFTP server
And I get the error below when I try to validate the repository. What did I miss for the config?
Repository validation failed due to error - SSH connect error. Verify configuration
Solved! Go to Solution.
02-13-2019 07:48 PM
02-15-2019 09:14 AM
Known limitation -- CSCum13116
02-06-2019 02:39 PM
Have you configured the SFTP server to accept request from the ISE node? Also, check the ADE log (show logging system ade/ADE.log) for more information on why it failed.
02-07-2019 03:03 AM
Are you using the Microsoft version of OpenSSH SFTP server by any chance? It's an option in Windows10 and I suppose in some of the Server variants too, since Microsoft historically didn't support SFTP in its IIS server. In that case you need to fiddle around with the allowed cipher suites. ISE is a bit limited and it does not support CTC ciphers support - and you may have to tell your SFTP server to support some legacy ciphers like aes256-cbc,aes128-cbc etc.
The SFTP Server logs will probably reveal your problem.
02-13-2019 04:26 PM
The SFTP server is Redhat 7.5 and the error in its log is.
Unable to negotiate with X.X.X.X port 48745: no matching cipher found. Their offer: aes256-cbc,aes128-cbc
02-13-2019 07:48 PM
02-15-2019 09:14 AM
Known limitation -- CSCum13116
02-15-2019 01:18 PM
02-13-2019 07:24 PM
What do you see if you take capture on ISE for SFTP server? Is three way handshake getting completed?
02-15-2019 11:26 AM
So I posted this in another post relating to scp ISE issues. See below, this may help you out:
Use this link to setup remote sftp linux repo:
https://www.howtoforge.com/tutorial/how-to-setup-an-sftp-server-on-centos/
Don't forget to add the key to ISE:
ise/admin# configure terminal
ise/admin(config)# repository myrepository
ise/admin(config-Repository)# url sftp://ise
ise/admin(config-Repository)# host-key host ise
On your server you may see the following errors:
sshd[18546]: fatal: bad ownership or modes for chroot directory "/data/ise" [postauth]
sshd[18351]: fatal: no matching cipher found: client aes256-cbc,aes128-cbc,aes128-gcm@openssh.com,aes256-gcm@openssh.com server aes128-ctr,aes192-ctr,aes256-ctr [preauth]
Double check ownership on your directories you are writing to or pulling from. Also, if you need to tweak ciphers modify your sshd_config.
Or if you want to use ftp you can do so this way (process should be similar even if attempting to use SCP):
make sure you create local repo
#conf t
#repository REPO
##url disk:
copy ftp://XXXXX/FILENAME disk:/
delete FILE disk:/
HTH!
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