Uses of Class
net.schmizz.sshj.transport.TransportException
Packages that use TransportException
Package
Description
-
Uses of TransportException in com.hierynomus.sshj.transport
Methods in com.hierynomus.sshj.transport that throw TransportExceptionModifier and TypeMethodDescriptionprivate StringIdentificationStringParser.readIdentification(Buffer.PlainBuffer lineBuffer) -
Uses of TransportException in net.schmizz.keepalive
Methods in net.schmizz.keepalive that throw TransportExceptionModifier and TypeMethodDescriptionprotected voidHeartbeater.doKeepAlive()protected abstract voidKeepAlive.doKeepAlive()protected voidKeepAliveRunner.doKeepAlive() -
Uses of TransportException in net.schmizz.sshj
Methods in net.schmizz.sshj that throw TransportExceptionModifier and TypeMethodDescriptionvoidSSHClient.auth(String username, Iterable<AuthMethod> methods) Authenticateusernameusing the suppliedmethods.voidSSHClient.auth(String username, AuthMethod... methods) Authenticateusernameusing the suppliedmethods.voidSSHClient.authGssApiWithMic(String username, LoginContext context, Oid supportedOid, 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(String username, char[] password) Authenticateusernameusing the"password"authentication method and as a fallback basic challenge-response authentication..voidSSHClient.authPassword(String username, String password) Authenticateusernameusing the"password"authentication method and as a fallback basic challenge-response authentication.voidSSHClient.authPassword(String username, PasswordFinder pfinder) Authenticateusernameusing the"password"authentication method and as a fallback basic challenge-response authentication.voidSSHClient.authPassword(String username, PasswordFinder pfinder, PasswordUpdateProvider newPasswordProvider) Authenticateusernameusing the"password"authentication method and as a fallback basic challenge-response authentication.voidSSHClient.authPublickey(String username) Authenticateusernameusing the"publickey"authentication method, with keys from some common locations on the file system.voidSSHClient.authPublickey(String username, Iterable<KeyProvider> keyProviders) Authenticateusernameusing the"publickey"authentication method.voidSSHClient.authPublickey(String username, String... locations) Authenticateusernameusing the"publickey"authentication method, with keys from one or morelocationsin the file system.voidSSHClient.authPublickey(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.SSHClient.startSession()voidSSHClient.useCompression()Addszlibcompression to preferred compression algorithms. -
Uses of TransportException in net.schmizz.sshj.connection
Methods in net.schmizz.sshj.connection that throw TransportExceptionModifier and TypeMethodDescriptionprivate voidConnectionImpl.gotChannelOpen(SSHPacket buf) private voidConnectionImpl.gotGlobalRequest(SSHPacket buf) Connection.sendGlobalRequest(String name, boolean wantReply, byte[] specifics) Send an SSH global request.ConnectionImpl.sendGlobalRequest(String name, boolean wantReply, byte[] specifics) voidConnection.sendOpenFailure(int recipient, OpenFailException.Reason reason, String message) Send aSSH_MSG_OPEN_FAILUREfor specifiedReasonandmessage.voidConnectionImpl.sendOpenFailure(int recipient, OpenFailException.Reason reason, String message) -
Uses of TransportException in net.schmizz.sshj.connection.channel
Methods in net.schmizz.sshj.connection.channel that throw TransportExceptionModifier and TypeMethodDescriptionprivate 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(String reqType, SSHPacket buf) voidChannel.Direct.open()Request opening this channel from remote end.voidChannel.Forwarded.reject(OpenFailException.Reason reason, String message) Indicate rejection to remote end.voidAbstractChannel.TransportRunnable.run()protected Event<ConnectionException> AbstractChannel.sendChannelRequest(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 TransportExceptionModifier and TypeMethodDescriptionvoidSession.allocateDefaultPTY()Allocates a default PTY.voidSessionChannel.allocateDefaultPTY()voidSession.allocatePTY(String term, int cols, int rows, int width, int height, Map<PTYMode, Integer> modes) Allocate a psuedo-terminal for this session.voidSessionChannel.allocatePTY(String term, int cols, int rows, int width, int height, Map<PTYMode, 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) Execute a remote command.protected voidAbstractDirectChannel.gotUnknown(Message cmd, SSHPacket buf) voidSessionChannel.handleRequest(String req, SSHPacket buf) voidAbstractDirectChannel.open()voidSession.reqX11Forwarding(String authProto, String authCookie, int screen) Request X11 forwarding.voidSessionChannel.reqX11Forwarding(String authProto, String authCookie, int screen) voidSet an environment variable.voidvoidSend a signal to the remote command.voidSend a signal.voidSession.startShell()Request a shell.SessionChannel.startShell()Session.startSubsystem(String name) Request a subsystem.SessionChannel.startSubsystem(String name) -
Uses of TransportException in net.schmizz.sshj.connection.channel.forwarded
Methods in net.schmizz.sshj.connection.channel.forwarded that throw TransportExceptionModifier and TypeMethodDescriptionRemotePortForwarder.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, String message) protected SSHPacketRemotePortForwarder.req(String reqName, RemotePortForwarder.Forward forward) -
Uses of TransportException in net.schmizz.sshj.transport
Fields in net.schmizz.sshj.transport with type parameters of type TransportExceptionModifier and TypeFieldDescriptionstatic final ExceptionChainer<TransportException> TransportException.chainerprivate final Event<TransportException> TransportImpl.closeprivate final Event<TransportException> KeyExchanger.doneprivate final Event<TransportException> KeyExchanger.kexInitSentprivate final Event<TransportException> TransportImpl.serviceAcceptMethods in net.schmizz.sshj.transport that throw TransportExceptionModifier and TypeMethodDescriptionprivate 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 StringTransport.getClientKeyAlgorithms(KeyType keyType) TransportImpl.getClientKeyAlgorithms(KeyType keyType) private voidprivate voidTransportImpl.gotDisconnect(SSHPacket buf) private voidKeyExchanger.gotKexInit(SSHPacket buf) private voidTransportImpl.gotServiceAccept()private voidKeyExchanger.gotStrictKexInfo(Proposal serverProposal) voidvoidTransport.init(String host, int port, InputStream in, OutputStream out) Sets the host information and the streams to be used by this transport.voidTransportImpl.init(String remoteHost, int remotePort, InputStream in, OutputStream out) voidTransport.join()Joins the thread calling this method to the transport's death.voidJoins the thread calling this method to the transport's death.voidTransportImpl.join()voidvoidTransport.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(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(PublicKey key) Tries to validate host key with all the host key verifiers known to this instance (KeyExchanger.hostVerifiers)(package private) voidKeyExchanger.waitForDone()longWrite a packet over this transport.longConstructors in net.schmizz.sshj.transport that throw TransportException -
Uses of TransportException in net.schmizz.sshj.transport.compression
Methods in net.schmizz.sshj.transport.compression that throw TransportExceptionModifier and TypeMethodDescriptionvoidCompression.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 TransportExceptionModifier and TypeMethodDescriptionvoidvoidvoidInitialize the key exchange algorithm.voidbooleanbooleanbooleanProcess 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 TransportExceptionModifier and TypeMethodDescriptionbooleanUserAuth.authenticate(String username, Service nextService, AuthMethod methods, int timeoutMs) Attempt to authenticateusernameusing each ofmethodsin order.booleanUserAuthImpl.authenticate(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 TransportExceptionModifier and TypeMethodDescriptionprivate KeyAlgorithmKeyedAuthMethod.getPublicKeyAlgorithm(KeyType keyType) voidvoidvoidvoidvoidInternal 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)