I have a very Simple flow - where i want to upload file to a server using putSFTP processor , I have getFile -> putSFTP . The putSFTP processor configuration looks like below
Password Sensitive value set Private Key Path No value set Private Key Passphrase No value set Remote Path
The putSFTP is not erroring out - I dont get any errors - but it does not complete ( it times out) . How do I troubleshoot this issue ?
I have created a public and private key for sftp communication -
I have updated the processor with the private key, passphase and Host key information as below -
Password Sensitive value set Private Key Path
Private Key Passphrase
Host Key File
I dont get any error still but the putSFTP is not working - Could you pls help ?
Have you manually tried to sftp to the remote system using the private key from the command line of the system running NiFi? Usually, the first time you connect to a system you are prompted to accept the key.
I had issues with the PutSFTP processor(though using nifi 1.2.0) due to some authentication error, strange thing is that I created custom PutSFTP processor and it works.
Other user experienced similar issue http://apache-nifi-developer-list.39713.n7.nabble.com/NIFI-PutSFTP-Auth-Fail-td15236.html.
Kind of sucks that Jsch is horrible for end user to configure logging. The codebase of 1.2 has a class called SFTPUtils which does configure a logger for jsch, but looks like the PutSFTP processor itself is not using the SFTPUtils class and nor has a jsch logger configured.