java.util.Properties config = new java.util.Properties();
config.put("StrictHostKeyChecking", "no");
session.setConfig(config);
In the above code, we need to set the value StrictHostKeyCheckingas nowhen connecting to SFTP via the JSch API?
source
share