bbende opened a new pull request #3726: NIFI-5816 Switch SFTP processors to use 
SSHJ
URL: https://github.com/apache/nifi/pull/3726
 
 
   I used the atmoz/sftp Docker container to test the SFTP processors:
   https://github.com/atmoz/sftp
   
   Generate Server Keys 
   ```
   ssh-keygen -t ed25519 -f ssh_host_ed25519_key < /dev/null
   ssh-keygen -t rsa -b 4096 -f ssh_host_rsa_key < /dev/null
   ```
   
   Generate User Keys
   ```
   ssh-keygen -t ed25519 -f foo_ed25519_key < /dev/null
   ssh-keygen -t rsa -b 4096 -f foo_rsa_key < /dev/null
   ```
   
   Launch Container
   ```
   docker run \
   -v /path/to/sftp-keys/foo_rsa_key.pub:/home/foo/.ssh/keys/foo_rsa_key.pub:ro 
\
   -v 
/path/to/sftp-keys/foo_ed25519_key.pub:/home/foo/.ssh/keys/foo_ed25519_key.pub:ro
 \
   -v /path/to/sftp-keys/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key \
   -v /path/to/sftp-keys/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key \
   -v /path/to/sftp-share:/home/foo/sftp-share \
   -p 2222:22 -p 1080:1080 -d atmoz/sftp \
   foo::1001
   ```
   Then you can configured an SFTP processor to with host of 'localhost' and 
port of '2222'.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to