Scenario failing when accessing SFTP

Solved!
sarahwd
Level 1
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)

0 Kudos
1 Solution
Turribeach

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?

 

View solution in original post

0 Kudos
2 Replies
Turribeach

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?

 

0 Kudos
sarahwd
Level 1
Author

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 !

0 Kudos