// Check host against known hosts repository
HostKeyRepository hkr = JSch.getInstance().getHostKeyRepository();
Check keyCheck;
synchronized( hkr ) {
keyCheck = hkr.check(chost, kex.K_S);
}
boolean insert = false;
String shkc = _session.getConfig().getString(SessionConfig.STRICT_HOST_KEY_CHECKING);
if( ("ask".equals(shkc) || "yes".equals(shkc)) && keyCheck == Check.CHANGED ) {