SSH error connecting to SCP/SFTP

Ibrahima13 Registered Posts: 14 ✭✭✭✭

Dear Dataiku community,

I have created an SCP/SFTP connection in order to write into NAS folder some files using python recipe. It was working fine, But now I have issue with this connection. I cannot open this folder anymore in the project flow and I get the following error:

SSH error connecting to xxxxxxxx, caused by: JSchException: Auth fail

However with shell command with the same user I can access to the folder

Could you please help me ?

Thank you in advance

Best Answer

  • Clément_Stenac
    Clément_Stenac Dataiker, Dataiku DSS Core Designer Posts: 753 Dataiker
    Answer ✓


    Unfortunately, the SSH implementation used for the SCP/SFTP dataset does not support all variants of cryptography that SSH servers may be using.

    You will likely not be able to use that particular SSH server with DSS and need to arrange for the files to be transfered through another means. This could be by running a shell recipe that retrieves the files and stores them to a managed folder, for example.


  • Ibrahima13
    Ibrahima13 Registered Posts: 14 ✭✭✭✭

    Hello Clément,

    Thank you very much for your answer. I found the root cause of this issue with your guidance. It appears that the file authorized_keys was modified and then I got error with SSH connection.

    Thank you in advance.

Setup Info
      Help me…