Package | Description |
---|---|
net.schmizz.sshj | |
net.schmizz.sshj.userauth | |
net.schmizz.sshj.userauth.method |
Modifier and Type | Method and Description |
---|---|
void |
SSHClient.auth(String username,
AuthMethod... methods)
Authenticate
username using the supplied methods . |
void |
SSHClient.auth(String username,
Iterable<AuthMethod> methods)
Authenticate
username using the supplied methods . |
void |
SSHClient.authPassword(String username,
char[] password)
Authenticate
username using the "password" authentication method and as a fallback basic
challenge-response authentication.. |
void |
SSHClient.authPassword(String username,
PasswordFinder pfinder)
Authenticate
username using the "password" authentication method and as a fallback basic
challenge-response authentication. |
void |
SSHClient.authPassword(String username,
String password)
Authenticate
username using the "password" authentication method and as a fallback basic
challenge-response authentication. |
void |
SSHClient.authPublickey(String username)
Authenticate
username using the "publickey" authentication method, with keys from some common
locations on the file system. |
void |
SSHClient.authPublickey(String username,
Iterable<KeyProvider> keyProviders)
Authenticate
username using the "publickey" authentication method. |
void |
SSHClient.authPublickey(String username,
KeyProvider... keyProviders)
Authenticate
username using the "publickey" authentication method. |
void |
SSHClient.authPublickey(String username,
String... locations)
Authenticate
username using the "publickey" authentication method, with keys from one or more
locations in the file system. |
Modifier and Type | Field and Description |
---|---|
static ExceptionChainer<UserAuthException> |
UserAuthException.chainer |
Modifier and Type | Method and Description |
---|---|
Deque<UserAuthException> |
UserAuthImpl.getSavedExceptions() |
Deque<UserAuthException> |
UserAuth.getSavedExceptions() |
Modifier and Type | Method and Description |
---|---|
void |
UserAuthImpl.authenticate(String username,
Service nextService,
Iterable<AuthMethod> methods) |
void |
UserAuth.authenticate(String username,
Service nextService,
Iterable<AuthMethod> methods)
Attempt to authenticate
username using each of methods in order. |
Modifier and Type | Method and Description |
---|---|
protected SSHPacket |
AbstractAuthMethod.buildReq()
Builds a
SSHPacket containing the fields common to all authentication method. |
protected SSHPacket |
AuthHostbased.buildReq() |
SSHPacket |
AuthKeyboardInteractive.buildReq() |
protected SSHPacket |
AuthPublickey.buildReq()
Builds a feeler request (sans signature).
|
SSHPacket |
AuthPassword.buildReq() |
void |
AbstractAuthMethod.handle(Message msg,
SSHPacket buf) |
void |
AuthKeyboardInteractive.handle(Message cmd,
SSHPacket buf) |
void |
AuthPublickey.handle(Message cmd,
SSHPacket buf)
Internal use.
|
void |
AuthPassword.handle(Message cmd,
SSHPacket buf) |
protected SSHPacket |
KeyedAuthMethod.putPubKey(SSHPacket reqBuf) |
protected SSHPacket |
KeyedAuthMethod.putSig(SSHPacket reqBuf) |
void |
AbstractAuthMethod.request() |
void |
AuthMethod.request() |
Copyright © 2009–2015. All rights reserved.