Getting the below error when trying to ping of the SFTP folders in the dataiku instance:
Getting the below error when trying to ping of the SFTP folders in the dataiku instance:
SSH error connecting to ftp1.str.com, caused by: JSchAlgoNegoFailException: Algorithm negotiation fail: algorithmName="server_host_key" jschProposal="ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256" serverProposal="ssh-rsa"
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,227 Dataiker
Hi,
The error is caused by routine upgradse to the jsch library in recent DSS releases. The supported algorithms has changed and is incompatible with that SFTP server. Ideally you can check with admins of "ftp1.str.com" and make sure at least one of the proposed algorithms is supported "sh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256"
If this is not an option, you can downgrade the security / supported aglorithms:
1) Stop DSS./bin/dss stop
2) Edit the install.ini locate in the DATADIR
If it does not exist, add a [javaopts] section
add lines :
jek.additional.opts= -Djsch.server_host_key=ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256
fek.additional.opts= -Djsch.server_host_key=ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256
backend.additional.opts= -Djsch.server_host_key=ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256Regenerate the runtime config:
./bin/dssadmin regenerate-config
Start DSS
./bin/dss start
Thanks