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.StringIdentificationStringParser. 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 voidHeartbeater. doKeepAlive()protected abstract voidKeepAlive. doKeepAlive()protected voidKeepAliveRunner. doKeepAlive() -
Uses of TransportException in net.schmizz.sshj
Methods in net.schmizz.sshj that throw TransportException Modifier and Type Method Description voidSSHClient. auth(java.lang.String username, java.lang.Iterable<AuthMethod> methods)Authenticateusernameusing the suppliedmethods.voidSSHClient. auth(java.lang.String username, AuthMethod... methods)Authenticateusernameusing the suppliedmethods.voidSSHClient. authGssApiWithMic(java.lang.String username, javax.security.auth.login.LoginContext context, org.ietf.jgss.Oid supportedOid, org.ietf.jgss.Oid... supportedOids)Authenticateusernameusing the"gssapi-with-mic"authentication method, given a login context for the peer GSS machine and a list of supported OIDs.voidSSHClient. authPassword(java.lang.String username, char[] password)Authenticateusernameusing the"password"authentication method and as a fallback basic challenge-response authentication..voidSSHClient. authPassword(java.lang.String username, java.lang.String password)Authenticateusernameusing the"password"authentication method and as a fallback basic challenge-response authentication.voidSSHClient. authPassword(java.lang.String username, PasswordFinder pfinder)Authenticateusernameusing the"password"authentication method and as a fallback basic challenge-response authentication.voidSSHClient. authPassword(java.lang.String username, PasswordFinder pfinder, PasswordUpdateProvider newPasswordProvider)Authenticateusernameusing the"password"authentication method and as a fallback basic challenge-response authentication.voidSSHClient. authPublickey(java.lang.String username)Authenticateusernameusing the"publickey"authentication method, with keys from some common locations on the file system.voidSSHClient. authPublickey(java.lang.String username, java.lang.Iterable<KeyProvider> keyProviders)Authenticateusernameusing the"publickey"authentication method.voidSSHClient. authPublickey(java.lang.String username, java.lang.String... locations)Authenticateusernameusing the"publickey"authentication method, with keys from one or morelocationsin the file system.voidSSHClient. authPublickey(java.lang.String username, KeyProvider... keyProviders)Authenticateusernameusing the"publickey"authentication method.protected voidSSHClient. doKex()Do key exchange.voidSSHClient. rekey()Does key re-exchange.voidAbstractService. request()voidService. request()Request and install this service with the associated transport.SessionSSHClient. startSession()voidSSHClient. useCompression()Addszlibcompression 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 voidConnectionImpl. gotChannelOpen(SSHPacket buf)private voidConnectionImpl. 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)voidConnection. sendOpenFailure(int recipient, OpenFailException.Reason reason, java.lang.String message)Send aSSH_MSG_OPEN_FAILUREfor specifiedReasonandmessage.voidConnectionImpl. 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 voidChannelInputStream. checkWindow()voidAbstractChannel. close()voidChannel. close()Close this channel.voidChannel.Forwarded. confirm()ConfirmCHANNEL_OPENrequest.(package private) booleanChannelOutputStream.DataBuffer. flush(boolean canAwaitExpansion)(package private) booleanChannelOutputStream.DataBuffer. flush(int bufferSize, boolean canAwaitExpansion)private voidAbstractChannel. gotChannelRequest(SSHPacket buf)private voidAbstractChannel. gotClose()private voidAbstractChannel. gotEOF()protected voidAbstractChannel. gotUnknown(Message msg, SSHPacket buf)protected voidAbstractChannel. handleRequest(java.lang.String reqType, SSHPacket buf)voidChannel.Direct. open()Request opening this channel from remote end.voidChannel.Forwarded. reject(OpenFailException.Reason reason, java.lang.String message)Indicate rejection to remote end.voidAbstractChannel.TransportRunnable. run()protected Event<ConnectionException>AbstractChannel. sendChannelRequest(java.lang.String reqType, boolean wantReply, Buffer.PlainBuffer reqSpecific)protected voidAbstractChannel. sendClose()(package private) booleanAbstractChannel. whileOpen(AbstractChannel.TransportRunnable runnable)(package private) intChannelOutputStream.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 voidSession. allocateDefaultPTY()Allocates a default PTY.voidSessionChannel. allocateDefaultPTY()voidSession. 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.voidSessionChannel. allocatePTY(java.lang.String term, int cols, int rows, int width, int height, java.util.Map<PTYMode,java.lang.Integer> modes)voidSession.Shell. changeWindowDimensions(int cols, int rows, int width, int height)Sends a window dimension change message.voidSessionChannel. changeWindowDimensions(int cols, int rows, int width, int height)Session.CommandSession. exec(java.lang.String command)Execute a remote command.Session.CommandSessionChannel. exec(java.lang.String command)protected voidAbstractDirectChannel. gotUnknown(Message cmd, SSHPacket buf)voidSessionChannel. handleRequest(java.lang.String req, SSHPacket buf)voidAbstractDirectChannel. open()voidSession. reqX11Forwarding(java.lang.String authProto, java.lang.String authCookie, int screen)Request X11 forwarding.voidSessionChannel. reqX11Forwarding(java.lang.String authProto, java.lang.String authCookie, int screen)voidSession. setEnvVar(java.lang.String name, java.lang.String value)Set an environment variable.voidSessionChannel. setEnvVar(java.lang.String name, java.lang.String value)voidSession.Command. signal(Signal signal)Send a signal to the remote command.voidSession.Shell. signal(Signal signal)Send a signal.voidSessionChannel. signal(Signal sig)Session.ShellSession. startShell()Request a shell.Session.ShellSessionChannel. startShell()Session.SubsystemSession. startSubsystem(java.lang.String name)Request a subsystem.Session.SubsystemSessionChannel. 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.ForwardRemotePortForwarder. bind(RemotePortForwarder.Forward forward, ConnectListener listener)Request forwarding from the remote host on the specifiedRemotePortForwarder.Forward.voidRemotePortForwarder. cancel(RemotePortForwarder.Forward forward)Request cancellation of some forwarding.voidAbstractForwardedChannel. confirm()voidForwardedChannelOpener. handleOpen(SSHPacket buf)Delegates aSSH_MSG_CHANNEL_OPENrequest for the channel type claimed by this opener.voidRemotePortForwarder. handleOpen(SSHPacket buf)Internal API.voidX11Forwarder. handleOpen(SSHPacket buf)Internal APIvoidAbstractForwardedChannel. reject(OpenFailException.Reason reason, java.lang.String message)protected SSHPacketRemotePortForwarder. 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. chainerprivate Event<TransportException>TransportImpl. closeprivate Event<TransportException>KeyExchanger. doneprivate Event<TransportException>KeyExchanger. kexInitSentprivate Event<TransportException>TransportImpl. serviceAcceptMethods in net.schmizz.sshj.transport that throw TransportException Modifier and Type Method Description private voidDecoder. checkMAC(byte[] data)private voidDecoder. checkPacketLength(int len)private SSHPacketDecoder. decompressed()private intDecoder. decryptLength()private intDecoder. decryptLengthAAD()voidTransport. doKex()Do key exchange and algorithm negotiation.voidTransportImpl. doKex()private voidKeyExchanger. ensureKexOngoing()private static voidKeyExchanger. ensureReceivedMatchesExpected(Message got, Message expected)private static java.lang.StringProposal. 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 voidTransportImpl. gotDebug(SSHPacket buf)private voidTransportImpl. gotDisconnect(SSHPacket buf)private voidKeyExchanger. gotKexInit(SSHPacket buf)private voidTransportImpl. gotServiceAccept()private voidKeyExchanger. gotStrictKexInfo(Proposal serverProposal)voidKeyExchanger. handle(Message msg, SSHPacket buf)voidTransport. 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.voidTransportImpl. init(java.lang.String remoteHost, int remotePort, java.io.InputStream in, java.io.OutputStream out)voidTransport. join()Joins the thread calling this method to the transport's death.voidTransport. join(int timeout, java.util.concurrent.TimeUnit unit)Joins the thread calling this method to the transport's death.voidTransportImpl. join()voidTransportImpl. join(int timeout, java.util.concurrent.TimeUnit unit)NegotiatedAlgorithmsProposal. negotiate(Proposal other)voidTransport. reqService(Service service)Request a SSH service represented by aServiceinstance.voidTransportImpl. reqService(Service service)private voidKeyExchanger. sendKexInit()Sends SSH_MSG_KEXINIT and sets theKeyExchanger.kexInitSentevent.private voidKeyExchanger. sendNewKeys()private voidTransportImpl. sendServiceRequest(java.lang.String serviceName)Sends a service request for the specified servicelongTransport. sendUnimplemented()Sends SSH_MSG_UNIMPLEMENTED in response to the last packet received.longTransportImpl. sendUnimplemented()(package private) voidKeyExchanger. startKex(boolean waitForDone)Starts key exchange by sending aSSH_MSG_KEXINITpacket.private voidKeyExchanger. verifyHost(java.security.PublicKey key)Tries to validate host key with all the host key verifiers known to this instance (KeyExchanger.hostVerifiers)(package private) voidKeyExchanger. waitForDone()longTransport. write(SSHPacket payload)Write a packet over this transport.longTransportImpl. 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 voidCompression. uncompress(Buffer from, Buffer to)Uncompress the data in a buffer into another buffer.voidZlibCompression. 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 voidAbstractDHG. init(Transport trans, java.lang.String V_S, java.lang.String V_C, byte[] I_S, byte[] I_C)voidAbstractDHGex. init(Transport trans, java.lang.String V_S, java.lang.String V_C, byte[] I_S, byte[] I_C)voidKeyExchange. init(Transport trans, java.lang.String V_S, java.lang.String V_C, byte[] I_S, byte[] I_C)Initialize the key exchange algorithm.voidKeyExchangeBase. init(Transport trans, java.lang.String V_S, java.lang.String V_C, byte[] I_S, byte[] I_C)booleanAbstractDHG. next(Message msg, SSHPacket packet)booleanAbstractDHGex. next(Message msg, SSHPacket buffer)booleanKeyExchange. next(Message msg, SSHPacket buffer)Process the next packetprivate booleanAbstractDHGex. parseGexGroup(SSHPacket buffer)private booleanAbstractDHGex. parseGexReply(SSHPacket buffer)private voidAbstractDHG. 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 booleanUserAuth. authenticate(java.lang.String username, Service nextService, AuthMethod methods, int timeoutMs)Attempt to authenticateusernameusing each ofmethodsin order.booleanUserAuthImpl. 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 KeyAlgorithmKeyedAuthMethod. getPublicKeyAlgorithm(KeyType keyType)voidAbstractAuthMethod. handle(Message msg, SSHPacket buf)voidAuthGssApiWithMic. handle(Message cmd, SSHPacket buf)voidAuthKeyboardInteractive. handle(Message cmd, SSHPacket buf)voidAuthPassword. handle(Message cmd, SSHPacket buf)voidAuthPublickey. handle(Message cmd, SSHPacket buf)Internal use.private voidAuthGssApiWithMic. handleContextInitialization(SSHPacket buf)voidAbstractAuthMethod. request()voidAuthMethod. request()private voidAuthKeyboardInteractive. respond(AuthKeyboardInteractive.CharArrWrap[] userReplies)private voidAuthPublickey. sendSignedReq()Send SSH_MSG_USERAUTH_REQUEST containing the signature.private voidAuthGssApiWithMic. sendToken(byte[] token)
-