| java.lang.Object | |||
| ↳ | net.schmizz.sshj.userauth.method.AbstractAuthMethod | ||
| ↳ | net.schmizz.sshj.userauth.method.KeyedAuthMethod | ||
| ↳ | net.schmizz.sshj.userauth.method.AuthPublickey | ||
Implements the "publickey" SSH authentication method.
SSH_MSG_USERAUTH_PK_OK indicating that the key is acceptable, it proceeds to send a
request signed with the private key. Therefore, private keys are not requested from the associated KeyProvider unless needed.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
net.schmizz.sshj.userauth.method.KeyedAuthMethod
| |||||||||||
From class
net.schmizz.sshj.userauth.method.AbstractAuthMethod
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Initialize this method with the provider for public and private key.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Internal use.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builds a feeler request (sans signature).
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
net.schmizz.sshj.userauth.method.KeyedAuthMethod
| |||||||||||
From class
net.schmizz.sshj.userauth.method.AbstractAuthMethod
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
net.schmizz.sshj.common.SSHPacketHandler
| |||||||||||
From interface
net.schmizz.sshj.userauth.method.AuthMethod
| |||||||||||
Initialize this method with the provider for public and private key.
| kProv |
|---|
Internal use.
| cmd | The SSH message identifier |
|---|---|
| buf | SSHPacket containing rest of the request |