Execute commands on remote SFTP server from NiFi
Hello,
I have my NiFi application running on 1 server. And I need to connect to users SFTP server and need to execute few commands like cd, rm, rename etc on remote server.
And to connect to that server I need to fulfill 2 step authentication (username/password and key authentication)
So if i ssh and provide key from shell script which will be mounted in docker. For that i will have to add the key needs to be installed in all nodes and then needs to be added to users sftp server.
It does not seem to be best solution
I there any other way where I can use NiFi processor to execute these commands to remote sftp server which needs to be connected through 2 step authentication
Any advise will be very helpful
Thank you.
Shalaka


