JSch SFTP security with session.setConfig(“StrictHostKeyChecking”, “no”);
Disabling the StrictHostKeyChecking option will make the connection less secure than having the option enabled, because it will let you connect to remote servers without verifying their SSH host keys. If the option is enabled, you will only be able to connect to servers which keys are known to your SSH client. You will have … Read more