public class AuthHostbased extends KeyedAuthMethod
hostbased
SSH authentication method.Modifier and Type | Field and Description |
---|---|
protected String |
hostname |
protected String |
hostuser |
kProv
log, params
Constructor and Description |
---|
AuthHostbased(KeyProvider kProv,
String hostname,
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
public AuthHostbased(KeyProvider kProv, String hostname, 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
Copyright © 2009-2014. All Rights Reserved.