public class AuthHostbased extends KeyedAuthMethod
hostbased
SSH authentication method.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
hostname |
protected java.lang.String |
hostuser |
kProv
log, params
Constructor and Description |
---|
AuthHostbased(KeyProvider kProv,
java.lang.String hostname,
java.lang.String hostuser) |
Modifier and Type | Method and Description |
---|---|
protected SSHPacket |
buildReq()
Builds a
SSHPacket containing the fields common to all authentication method. |
putPubKey, putSig
getName, handle, init, makeAccountResource, request, shouldRetry
protected final java.lang.String hostname
protected final java.lang.String hostuser
public AuthHostbased(KeyProvider kProv, java.lang.String hostname, java.lang.String hostuser)
protected SSHPacket buildReq() throws UserAuthException
AbstractAuthMethod
SSHPacket
containing the fields common to all authentication method. Method-specific fields can
further be put into this buffer.buildReq
in class AbstractAuthMethod
UserAuthException