Uses of Class
org.miaixz.bus.extra.ssh.Connector
Packages that use Connector
Package
Description
Provides utility classes for FTP (File Transfer Protocol) operations, primarily based on Apache Commons Net.
Provides an encapsulation for SSH (Secure Shell) operations, including port forwarding and SFTP functionalities.
Provides an encapsulation for the JSch (Java Secure Channel) library.
Provides an encapsulation for the SSHJ library, offering SSH and SFTP functionalities.
-
Uses of Connector in org.miaixz.bus.extra.ftp
Methods in org.miaixz.bus.extra.ftp that return ConnectorModifier and TypeMethodDescriptionFtpConfig.getConnector()Retrieves the connection information for the FTP server.Methods in org.miaixz.bus.extra.ftp with parameters of type ConnectorModifier and TypeMethodDescriptionstatic CommonsFtpCreates a CommonsFtp instance.static CommonsFtpCreates a CommonsFtp instance.static CommonsFtpCommonsFtp.of(Connector connector, Charset charset, String serverLanguageCode, String systemKey, org.miaixz.bus.core.lang.EnumValue.Lifecycle lifecycle) Creates a CommonsFtp instance.FtpConfig.setConnector(Connector connector) Sets the connection information for the FTP server.Constructors in org.miaixz.bus.extra.ftp with parameters of type ConnectorModifierConstructorDescriptionConstructs a newFtpConfiginstance with specified connection information and character set.Constructs a newFtpConfiginstance with specified connection information, character set, server language code, and system key. -
Uses of Connector in org.miaixz.bus.extra.ssh
Methods in org.miaixz.bus.extra.ssh that return ConnectorModifier and TypeMethodDescriptionstatic ConnectorConnector.of()Creates a newConnectorinstance with default parameters.static ConnectorCreates a newConnectorinstance with specified host, port, user, and password.static ConnectorCreates a newConnectorinstance with specified host, port, user, password, and timeout.Sets the hostname or IP address of the server.Connector.setPassword(String password) Sets the password for authentication.Connector.setPort(int port) Sets the port number for the connection.Connector.setTimeout(long timeout) Sets the connection timeout duration in milliseconds.Sets the username for authentication.Methods in org.miaixz.bus.extra.ssh with parameters of type ConnectorModifier and TypeMethodDescriptionstatic net.schmizz.sshj.SSHClientSshjKit.openClient(Connector connector) Opens and authenticates an SSH client connection using the provided connection details.static com.jcraft.jsch.SessionJschKit.openSession(Connector connector) Opens an SSH session with the specified connection details. -
Uses of Connector in org.miaixz.bus.extra.ssh.provider.jsch
Constructors in org.miaixz.bus.extra.ssh.provider.jsch with parameters of type ConnectorModifierConstructorDescriptionJschSession(Connector connector) Constructs aJschSessionwith the givenConnector. -
Uses of Connector in org.miaixz.bus.extra.ssh.provider.sshj
Constructors in org.miaixz.bus.extra.ssh.provider.sshj with parameters of type ConnectorModifierConstructorDescriptionSshjSession(Connector connector) Constructs aSshjSessionwith the givenConnector.