public class SshServer extends AbstractSshServer implements com.sshtools.synergy.nio.ProtocolContextFactory<SshServerContext>
Constructor and Description |
---|
SshServer() |
SshServer(java.net.InetAddress addressToBind,
int port) |
SshServer(int port) |
SshServer(java.lang.String addressToBind,
int port) |
Modifier and Type | Method and Description |
---|---|
SshServerContext |
createContext(com.sshtools.synergy.nio.SshEngineContext daemonContext,
java.nio.channels.SocketChannel sc) |
com.sshtools.synergy.nio.ProtocolContextFactory<?> |
getDefaultContextFactory() |
addAuthenticator, addGlobalRequestHandler, addHostKey, addHostKeys, addHostKeys, addInterface, addInterface, afterStart, beforeStart, close, configure, configureAuthentication, configureChannels, configureFilesystem, configureForwarding, configureHostKeys, createServerContext, disableSCP, enableSCP, getEngine, getForwardingPolicy, getIPPolicy, getPort, getShutdownFuture, isRunning, removeInterface, setChannelFactory, setConfigFolder, setFileFactory, setIPPolicy, setSecurityLevel, start, start, stop
public SshServer()
public SshServer(int port) throws java.net.UnknownHostException
java.net.UnknownHostException
public SshServer(java.lang.String addressToBind, int port) throws java.net.UnknownHostException
java.net.UnknownHostException
public SshServer(java.net.InetAddress addressToBind, int port)
public com.sshtools.synergy.nio.ProtocolContextFactory<?> getDefaultContextFactory()
getDefaultContextFactory
in class AbstractSshServer
public SshServerContext createContext(com.sshtools.synergy.nio.SshEngineContext daemonContext, java.nio.channels.SocketChannel sc) throws java.io.IOException, com.sshtools.common.ssh.SshException
createContext
in interface com.sshtools.synergy.nio.ProtocolContextFactory<SshServerContext>
java.io.IOException
com.sshtools.common.ssh.SshException
Copyright © 2021. All rights reserved.