Hi ,
I am creating a new Connection with SFTP protocol and trying to connect to the SFTP server using a private key .
I inputted these while creating the Connection:
Authentication as Private Key ,
Private Key provider as plain text
Private Key as the text that i copied from the ppk file
Username the correct one
there was no Passphrase
and when i hit Test Connection I get the below error
Stage 'com_streamsets_pipeline_lib_remote_RemoteConnectionVerifier_01' initialization error: java.lang.NullPointerException: Cannot invoke "net.schmizz.sshj.userauth.keyprovider.KeyProvider.getPublic()" because "this.kProv" is null (CONTAINER_0701)
But alternatively if i input the same in the credentials tab of the pipeline and preview ,I am able to successfully connect to the sftp server and read the file there .
Problem is when i create the same via a connection
Kindly help me to resolve this issue .