ssh.addHostKeyVerifier(new HostKeyVerifier() {
@Override
public boolean verify(String arg0, int arg1, PublicKey arg2) {
return true;
}
});
I'm trying to connect to an EC2 instance that I just spun up and don't know the host key.How do I disable Host Key Verification?