public class KeyPairAuthenticator extends PublicKeyAuthenticator
SSH_MSG_USERAUTH_PK_OK
Constructor and Description |
---|
KeyPairAuthenticator(com.sshtools.common.ssh.components.SshKeyPair pair) |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(TransportProtocolClient transport,
java.lang.String username)
Start the authentication
|
getName, onStartAuthentication, processMessage, setKeyPair, sign
cancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, success
addFutureListener, done, isDone, isSuccess, waitFor, waitForever
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, success
public KeyPairAuthenticator(com.sshtools.common.ssh.components.SshKeyPair pair)
public void authenticate(TransportProtocolClient transport, java.lang.String username)
ClientAuthenticator
authenticate
in interface ClientAuthenticator
authenticate
in class PublicKeyAuthenticator
Copyright © 2022. All rights reserved.