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 String
IdentificationStringParser.readIdentification
(Buffer.PlainBuffer lineBuffer) -
Uses of TransportException in net.schmizz.keepalive
Methods in net.schmizz.keepalive that throw TransportExceptionModifier and TypeMethodDescriptionprotected 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 TransportExceptionModifier and TypeMethodDescriptionvoid
SSHClient.auth
(String username, Iterable<AuthMethod> methods) Authenticateusername
using the suppliedmethods
.void
SSHClient.auth
(String username, AuthMethod... methods) Authenticateusername
using the suppliedmethods
.void
SSHClient.authGssApiWithMic
(String username, LoginContext context, Oid supportedOid, 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
(String username, char[] password) Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication..void
SSHClient.authPassword
(String username, String password) Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication.void
SSHClient.authPassword
(String username, PasswordFinder pfinder) Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication.void
SSHClient.authPassword
(String username, PasswordFinder pfinder, PasswordUpdateProvider newPasswordProvider) Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication.void
SSHClient.authPublickey
(String username) Authenticateusername
using the"publickey"
authentication method, with keys from some common locations on the file system.void
SSHClient.authPublickey
(String username, Iterable<KeyProvider> keyProviders) Authenticateusername
using the"publickey"
authentication method.void
SSHClient.authPublickey
(String username, String... locations) Authenticateusername
using the"publickey"
authentication method, with keys from one or morelocations
in the file system.void
SSHClient.authPublickey
(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.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 TransportExceptionModifier and TypeMethodDescriptionprivate void
ConnectionImpl.gotChannelOpen
(SSHPacket buf) private void
ConnectionImpl.gotGlobalRequest
(SSHPacket buf) Connection.sendGlobalRequest
(String name, boolean wantReply, byte[] specifics) Send an SSH global request.ConnectionImpl.sendGlobalRequest
(String name, boolean wantReply, byte[] specifics) void
Connection.sendOpenFailure
(int recipient, OpenFailException.Reason reason, String message) Send aSSH_MSG_OPEN_FAILURE
for specifiedReason
andmessage
.void
ConnectionImpl.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 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
(String reqType, SSHPacket buf) void
Channel.Direct.open()
Request opening this channel from remote end.void
Channel.Forwarded.reject
(OpenFailException.Reason reason, String message) Indicate rejection to remote end.void
AbstractChannel.TransportRunnable.run()
protected Event
<ConnectionException> AbstractChannel.sendChannelRequest
(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 TransportExceptionModifier and TypeMethodDescriptionvoid
Session.allocateDefaultPTY()
Allocates a default PTY.void
SessionChannel.allocateDefaultPTY()
void
Session.allocatePTY
(String term, int cols, int rows, int width, int height, Map<PTYMode, Integer> modes) Allocate a psuedo-terminal for this session.void
SessionChannel.allocatePTY
(String term, int cols, int rows, int width, int height, Map<PTYMode, 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) Execute a remote command.protected void
AbstractDirectChannel.gotUnknown
(Message cmd, SSHPacket buf) void
SessionChannel.handleRequest
(String req, SSHPacket buf) void
AbstractDirectChannel.open()
void
Session.reqX11Forwarding
(String authProto, String authCookie, int screen) Request X11 forwarding.void
SessionChannel.reqX11Forwarding
(String authProto, String authCookie, int screen) void
Set an environment variable.void
void
Send a signal to the remote command.void
Send a signal.void
Session.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
.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, String message) protected SSHPacket
RemotePortForwarder.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.chainer
private final Event
<TransportException> TransportImpl.close
private final Event
<TransportException> KeyExchanger.done
private final Event
<TransportException> KeyExchanger.kexInitSent
private final Event
<TransportException> TransportImpl.serviceAccept
Methods in net.schmizz.sshj.transport that throw TransportExceptionModifier and TypeMethodDescriptionprivate 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 String
Transport.getClientKeyAlgorithms
(KeyType keyType) TransportImpl.getClientKeyAlgorithms
(KeyType keyType) private void
private void
TransportImpl.gotDisconnect
(SSHPacket buf) private void
KeyExchanger.gotKexInit
(SSHPacket buf) private void
TransportImpl.gotServiceAccept()
private void
KeyExchanger.gotStrictKexInfo
(Proposal serverProposal) void
void
Transport.init
(String host, int port, InputStream in, OutputStream out) Sets the host information and the streams to be used by this transport.void
TransportImpl.init
(String remoteHost, int remotePort, InputStream in, OutputStream out) void
Transport.join()
Joins the thread calling this method to the transport's death.void
Joins the thread calling this method to the transport's death.void
TransportImpl.join()
void
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
(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
(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
Write a packet over this transport.long
Constructors 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 TypeMethodDescriptionvoid
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 TransportExceptionModifier and TypeMethodDescriptionvoid
void
void
Initialize the key exchange algorithm.void
boolean
boolean
boolean
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 TransportExceptionModifier and TypeMethodDescriptionboolean
UserAuth.authenticate
(String username, Service nextService, AuthMethod methods, int timeoutMs) Attempt to authenticateusername
using each ofmethods
in order.boolean
UserAuthImpl.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 KeyAlgorithm
KeyedAuthMethod.getPublicKeyAlgorithm
(KeyType keyType) void
void
void
void
void
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)