Scenario failing when accessing SFTP
Hello !
I have an issue with a scenario when trying to access a SFTP. When I run the notebook it's working fine, but the scenario throws this error everytime (both manual and automatic run) :
Error while connecting to dataset <my_dataset> (partition 2023-12-21), caused by: IOException: SSH error connecting to <my_sftp>, caused by: JSchException: Auth fail
I'm using a connection by SSH key.
Thanks for your help !
Operating system used: centos (7)
Best Answer
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,166 Neuron
Hi are you using User Isolation Framework in Dataiku? If so the Notebook will execute as your ID in Linux and the Scenario will execute as the user set to run the Scenario as (Run As).
Have you followed the Defining the SCP/SFTP connection steps?
Answers
-
Hello !
Yes I've followed those steps to set up the connection. I've tried changing the "run as" with my username instead of last author of scenario and it's working. It solves my issue for now, thanks !