The JSch library used for SFTP does not support HostKeyAlgorithms=ed25519 whereas it is the current standard. This make SFTP / SSH unusable when dealing with recent openssh config.
On dbeaver project they switched to sshj.
One more argument against JSch is that it does not support rsa key length other than default (2048).
ssh-keygen -o -t rsa -b 4096 -f id_rsa -> does not work with nifi
ssh-keygen -t rsa -f id_rsa -> works with nifi
Thanks and regards
PS : sorry but I do not know nifi deep enough to fill all fields.