public AuthFuture authInteractive(String user, String password) throws IOException {
return tryAuth(user, new UserAuthKeyboardInteractive(this, nextServiceName(), password));
}
public AuthFuture authPublicKey(String user, KeyPair key) throws IOException {
return tryAuth(user, new UserAuthPublicKey(this, nextServiceName(), key));
}