Uses of Class
net.schmizz.sshj.transport.TransportException
-
-
Uses of TransportException in com.hierynomus.sshj.transport
Methods in com.hierynomus.sshj.transport that throw TransportException Modifier and Type Method Description private java.lang.String
IdentificationStringParser. readIdentification(Buffer.PlainBuffer lineBuffer)
-
Uses of TransportException in net.schmizz.keepalive
Methods in net.schmizz.keepalive that throw TransportException Modifier and Type Method Description protected void
Heartbeater. doKeepAlive()
protected abstract void
KeepAlive. doKeepAlive()
protected void
KeepAliveRunner. doKeepAlive()
-
Uses of TransportException in net.schmizz.sshj
Methods in net.schmizz.sshj that throw TransportException Modifier and Type Method Description void
SSHClient. auth(java.lang.String username, java.lang.Iterable<AuthMethod> methods)
Authenticateusername
using the suppliedmethods
.void
SSHClient. auth(java.lang.String username, AuthMethod... methods)
Authenticateusername
using the suppliedmethods
.void
SSHClient. authGssApiWithMic(java.lang.String username, javax.security.auth.login.LoginContext context, org.ietf.jgss.Oid supportedOid, org.ietf.jgss.Oid... supportedOids)
Authenticateusername
using the"gssapi-with-mic"
authentication method, given a login context for the peer GSS machine and a list of supported OIDs.void
SSHClient. authPassword(java.lang.String username, char[] password)
Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication..void
SSHClient. authPassword(java.lang.String username, java.lang.String password)
Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication.void
SSHClient. authPassword(java.lang.String username, PasswordFinder pfinder)
Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication.void
SSHClient. authPassword(java.lang.String username, PasswordFinder pfinder, PasswordUpdateProvider newPasswordProvider)
Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication.void
SSHClient. authPublickey(java.lang.String username)
Authenticateusername
using the"publickey"
authentication method, with keys from some common locations on the file system.void
SSHClient. authPublickey(java.lang.String username, java.lang.Iterable<KeyProvider> keyProviders)
Authenticateusername
using the"publickey"
authentication method.void
SSHClient. authPublickey(java.lang.String username, java.lang.String... locations)
Authenticateusername
using the"publickey"
authentication method, with keys from one or morelocations
in the file system.void
SSHClient. authPublickey(java.lang.String username, KeyProvider... keyProviders)
Authenticateusername
using the"publickey"
authentication method.protected void
SSHClient. doKex()
Do key exchange.void
SSHClient. rekey()
Does key re-exchange.void
AbstractService. request()
void
Service. request()
Request and install this service with the associated transport.Session
SSHClient. startSession()
void
SSHClient. useCompression()
Addszlib
compression to preferred compression algorithms. -
Uses of TransportException in net.schmizz.sshj.connection
Methods in net.schmizz.sshj.connection that throw TransportException Modifier and Type Method Description private void
ConnectionImpl. gotChannelOpen(SSHPacket buf)
private void
ConnectionImpl. gotGlobalRequest(SSHPacket buf)
Promise<SSHPacket,ConnectionException>
Connection. sendGlobalRequest(java.lang.String name, boolean wantReply, byte[] specifics)
Send an SSH global request.Promise<SSHPacket,ConnectionException>
ConnectionImpl. sendGlobalRequest(java.lang.String name, boolean wantReply, byte[] specifics)
void
Connection. sendOpenFailure(int recipient, OpenFailException.Reason reason, java.lang.String message)
Send aSSH_MSG_OPEN_FAILURE
for specifiedReason
andmessage
.void
ConnectionImpl. sendOpenFailure(int recipient, OpenFailException.Reason reason, java.lang.String message)
-
Uses of TransportException in net.schmizz.sshj.connection.channel
Methods in net.schmizz.sshj.connection.channel that throw TransportException Modifier and Type Method Description private void
ChannelInputStream. checkWindow()
void
AbstractChannel. close()
void
Channel. close()
Close this channel.void
Channel.Forwarded. confirm()
ConfirmCHANNEL_OPEN
request.(package private) boolean
ChannelOutputStream.DataBuffer. flush(boolean canAwaitExpansion)
(package private) boolean
ChannelOutputStream.DataBuffer. flush(int bufferSize, boolean canAwaitExpansion)
private void
AbstractChannel. gotChannelRequest(SSHPacket buf)
private void
AbstractChannel. gotClose()
private void
AbstractChannel. gotEOF()
protected void
AbstractChannel. gotUnknown(Message msg, SSHPacket buf)
protected void
AbstractChannel. handleRequest(java.lang.String reqType, SSHPacket buf)
void
Channel.Direct. open()
Request opening this channel from remote end.void
Channel.Forwarded. reject(OpenFailException.Reason reason, java.lang.String message)
Indicate rejection to remote end.void
AbstractChannel.TransportRunnable. run()
protected Event<ConnectionException>
AbstractChannel. sendChannelRequest(java.lang.String reqType, boolean wantReply, Buffer.PlainBuffer reqSpecific)
protected void
AbstractChannel. sendClose()
(package private) boolean
AbstractChannel. whileOpen(AbstractChannel.TransportRunnable runnable)
(package private) int
ChannelOutputStream.DataBuffer. write(byte[] data, int off, int len)
-
Uses of TransportException in net.schmizz.sshj.connection.channel.direct
Methods in net.schmizz.sshj.connection.channel.direct that throw TransportException Modifier and Type Method Description void
Session. allocateDefaultPTY()
Allocates a default PTY.void
SessionChannel. allocateDefaultPTY()
void
Session. allocatePTY(java.lang.String term, int cols, int rows, int width, int height, java.util.Map<PTYMode,java.lang.Integer> modes)
Allocate a psuedo-terminal for this session.void
SessionChannel. allocatePTY(java.lang.String term, int cols, int rows, int width, int height, java.util.Map<PTYMode,java.lang.Integer> modes)
void
Session.Shell. changeWindowDimensions(int cols, int rows, int width, int height)
Sends a window dimension change message.void
SessionChannel. changeWindowDimensions(int cols, int rows, int width, int height)
Session.Command
Session. exec(java.lang.String command)
Execute a remote command.Session.Command
SessionChannel. exec(java.lang.String command)
protected void
AbstractDirectChannel. gotUnknown(Message cmd, SSHPacket buf)
void
SessionChannel. handleRequest(java.lang.String req, SSHPacket buf)
void
AbstractDirectChannel. open()
void
Session. reqX11Forwarding(java.lang.String authProto, java.lang.String authCookie, int screen)
Request X11 forwarding.void
SessionChannel. reqX11Forwarding(java.lang.String authProto, java.lang.String authCookie, int screen)
void
Session. setEnvVar(java.lang.String name, java.lang.String value)
Set an environment variable.void
SessionChannel. setEnvVar(java.lang.String name, java.lang.String value)
void
Session.Command. signal(Signal signal)
Send a signal to the remote command.void
Session.Shell. signal(Signal signal)
Send a signal.void
SessionChannel. signal(Signal sig)
Session.Shell
Session. startShell()
Request a shell.Session.Shell
SessionChannel. startShell()
Session.Subsystem
Session. startSubsystem(java.lang.String name)
Request a subsystem.Session.Subsystem
SessionChannel. startSubsystem(java.lang.String name)
-
Uses of TransportException in net.schmizz.sshj.connection.channel.forwarded
Methods in net.schmizz.sshj.connection.channel.forwarded that throw TransportException Modifier and Type Method Description RemotePortForwarder.Forward
RemotePortForwarder. bind(RemotePortForwarder.Forward forward, ConnectListener listener)
Request forwarding from the remote host on the specifiedRemotePortForwarder.Forward
.void
RemotePortForwarder. cancel(RemotePortForwarder.Forward forward)
Request cancellation of some forwarding.void
AbstractForwardedChannel. confirm()
void
ForwardedChannelOpener. handleOpen(SSHPacket buf)
Delegates aSSH_MSG_CHANNEL_OPEN
request for the channel type claimed by this opener.void
RemotePortForwarder. handleOpen(SSHPacket buf)
Internal API.void
X11Forwarder. handleOpen(SSHPacket buf)
Internal APIvoid
AbstractForwardedChannel. reject(OpenFailException.Reason reason, java.lang.String message)
protected SSHPacket
RemotePortForwarder. req(java.lang.String reqName, RemotePortForwarder.Forward forward)
-
Uses of TransportException in net.schmizz.sshj.transport
Fields in net.schmizz.sshj.transport with type parameters of type TransportException Modifier and Type Field Description static ExceptionChainer<TransportException>
TransportException. chainer
private Event<TransportException>
TransportImpl. close
private Event<TransportException>
KeyExchanger. done
private Event<TransportException>
KeyExchanger. kexInitSent
private Event<TransportException>
TransportImpl. serviceAccept
Methods in net.schmizz.sshj.transport that throw TransportException Modifier and Type Method Description private void
Decoder. checkMAC(byte[] data)
private void
Decoder. checkPacketLength(int len)
private SSHPacket
Decoder. decompressed()
private int
Decoder. decryptLength()
private int
Decoder. decryptLengthAAD()
void
Transport. doKex()
Do key exchange and algorithm negotiation.void
TransportImpl. doKex()
private void
KeyExchanger. ensureKexOngoing()
private static void
KeyExchanger. ensureReceivedMatchesExpected(Message got, Message expected)
private static java.lang.String
Proposal. firstMatch(java.lang.String ofWhat, java.util.List<java.lang.String> a, java.util.List<java.lang.String> b)
java.util.List<KeyAlgorithm>
Transport. getClientKeyAlgorithms(KeyType keyType)
java.util.List<KeyAlgorithm>
TransportImpl. getClientKeyAlgorithms(KeyType keyType)
private void
TransportImpl. gotDebug(SSHPacket buf)
private void
TransportImpl. gotDisconnect(SSHPacket buf)
private void
KeyExchanger. gotKexInit(SSHPacket buf)
private void
TransportImpl. gotServiceAccept()
private void
KeyExchanger. gotStrictKexInfo(Proposal serverProposal)
void
KeyExchanger. handle(Message msg, SSHPacket buf)
void
Transport. init(java.lang.String host, int port, java.io.InputStream in, java.io.OutputStream out)
Sets the host information and the streams to be used by this transport.void
TransportImpl. init(java.lang.String remoteHost, int remotePort, java.io.InputStream in, java.io.OutputStream out)
void
Transport. join()
Joins the thread calling this method to the transport's death.void
Transport. join(int timeout, java.util.concurrent.TimeUnit unit)
Joins the thread calling this method to the transport's death.void
TransportImpl. join()
void
TransportImpl. join(int timeout, java.util.concurrent.TimeUnit unit)
NegotiatedAlgorithms
Proposal. negotiate(Proposal other)
void
Transport. reqService(Service service)
Request a SSH service represented by aService
instance.void
TransportImpl. reqService(Service service)
private void
KeyExchanger. sendKexInit()
Sends SSH_MSG_KEXINIT and sets theKeyExchanger.kexInitSent
event.private void
KeyExchanger. sendNewKeys()
private void
TransportImpl. sendServiceRequest(java.lang.String serviceName)
Sends a service request for the specified servicelong
Transport. sendUnimplemented()
Sends SSH_MSG_UNIMPLEMENTED in response to the last packet received.long
TransportImpl. sendUnimplemented()
(package private) void
KeyExchanger. startKex(boolean waitForDone)
Starts key exchange by sending aSSH_MSG_KEXINIT
packet.private void
KeyExchanger. verifyHost(java.security.PublicKey key)
Tries to validate host key with all the host key verifiers known to this instance (KeyExchanger.hostVerifiers
)(package private) void
KeyExchanger. waitForDone()
long
Transport. write(SSHPacket payload)
Write a packet over this transport.long
TransportImpl. write(SSHPacket payload)
Constructors in net.schmizz.sshj.transport that throw TransportException Constructor Description Proposal(SSHPacket packet)
-
Uses of TransportException in net.schmizz.sshj.transport.compression
Methods in net.schmizz.sshj.transport.compression that throw TransportException Modifier and Type Method Description void
Compression. uncompress(Buffer from, Buffer to)
Uncompress the data in a buffer into another buffer.void
ZlibCompression. uncompress(Buffer from, Buffer to)
-
Uses of TransportException in net.schmizz.sshj.transport.kex
Methods in net.schmizz.sshj.transport.kex that throw TransportException Modifier and Type Method Description void
AbstractDHG. init(Transport trans, java.lang.String V_S, java.lang.String V_C, byte[] I_S, byte[] I_C)
void
AbstractDHGex. init(Transport trans, java.lang.String V_S, java.lang.String V_C, byte[] I_S, byte[] I_C)
void
KeyExchange. init(Transport trans, java.lang.String V_S, java.lang.String V_C, byte[] I_S, byte[] I_C)
Initialize the key exchange algorithm.void
KeyExchangeBase. init(Transport trans, java.lang.String V_S, java.lang.String V_C, byte[] I_S, byte[] I_C)
boolean
AbstractDHG. next(Message msg, SSHPacket packet)
boolean
AbstractDHGex. next(Message msg, SSHPacket buffer)
boolean
KeyExchange. next(Message msg, SSHPacket buffer)
Process the next packetprivate boolean
AbstractDHGex. parseGexGroup(SSHPacket buffer)
private boolean
AbstractDHGex. parseGexReply(SSHPacket buffer)
private void
AbstractDHG. verifyCertificate(byte[] K_S)
-
Uses of TransportException in net.schmizz.sshj.userauth
Methods in net.schmizz.sshj.userauth that throw TransportException Modifier and Type Method Description boolean
UserAuth. authenticate(java.lang.String username, Service nextService, AuthMethod methods, int timeoutMs)
Attempt to authenticateusername
using each ofmethods
in order.boolean
UserAuthImpl. authenticate(java.lang.String username, Service nextService, AuthMethod method, int timeoutMs)
-
Uses of TransportException in net.schmizz.sshj.userauth.method
Methods in net.schmizz.sshj.userauth.method that throw TransportException Modifier and Type Method Description private KeyAlgorithm
KeyedAuthMethod. getPublicKeyAlgorithm(KeyType keyType)
void
AbstractAuthMethod. handle(Message msg, SSHPacket buf)
void
AuthGssApiWithMic. handle(Message cmd, SSHPacket buf)
void
AuthKeyboardInteractive. handle(Message cmd, SSHPacket buf)
void
AuthPassword. handle(Message cmd, SSHPacket buf)
void
AuthPublickey. handle(Message cmd, SSHPacket buf)
Internal use.private void
AuthGssApiWithMic. handleContextInitialization(SSHPacket buf)
void
AbstractAuthMethod. request()
void
AuthMethod. request()
private void
AuthKeyboardInteractive. respond(AuthKeyboardInteractive.CharArrWrap[] userReplies)
private void
AuthPublickey. sendSignedReq()
Send SSH_MSG_USERAUTH_REQUEST containing the signature.private void
AuthGssApiWithMic. sendToken(byte[] token)
-