Trying to connect SFTP directly in Databricks

Shetty_1338
New Contributor III

Hi, 
As a proof of concept, I have created an ADLS and enabled SFTP> Created Local User and SSH Private key. 

Now, I am trying to connect this SFTP connection directly in Databricks to create table or data frame. 

Below is the code snipper I have used and the maven library -

com.springml : spark-sftp_2.11:1.1.5
 
 
code 1:
Shetty_1338_0-1743625413680.png

 

code 2: 
Shetty_1338_1-1743625438294.png

I am getting below error for both the syntax. I am not sure where the code or values needs to be changed.

Shetty_1338_2-1743625482972.png

 


Can anyone help me resolve this?