com.google.gerrit.sshd

Class SshDaemon

    • Field Summary

      • Fields inherited from class org.apache.sshd.SshServer

        commandFactory, gssAuthenticator, host, passwordAuthenticator, port, publickeyAuthenticator, sessionFactory, shellFactory, subsystemFactories, userAuthFactories
      • Fields inherited from class org.apache.sshd.common.AbstractFactoryManager

        agentFactory, channelFactories, cipherFactories, compressionFactories, executor, fileSystemFactory, ioServiceFactory, keyExchangeFactories, keyPairProvider, macFactories, properties, randomFactory, shutdownExecutor, signatureFactories, tcpipForwarderFactory, tcpipForwardingFilter, version
      • Fields inherited from interface org.apache.sshd.server.ServerFactoryManager

        AUTH_METHODS, AUTH_TIMEOUT, COMMAND_EXIT_TIMEOUT, IDLE_TIMEOUT, MAX_AUTH_REQUESTS, MAX_CONCURRENT_SESSIONS, SERVER_IDENTIFICATION, WELCOME_BANNER
      • Fields inherited from interface org.apache.sshd.common.FactoryManager

        DEFAULT_NIO_WORKERS, MAX_PACKET_SIZE, NIO_WORKERS, WINDOW_SIZE
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      protected void checkConfig() 
      java.util.List<com.jcraft.jsch.HostKey> getHostKeys() 
      org.apache.sshd.common.io.IoAcceptor getIoAcceptor() 
      void start() 
      void stop() 
      • Methods inherited from class org.apache.sshd.SshServer

        createAcceptor, createSessionFactory, getActiveSessions, getCommandFactory, getGSSAuthenticator, getHost, getPasswordAuthenticator, getPort, getPublickeyAuthenticator, getSessionFactory, getShellFactory, getSubsystemFactories, getUserAuthFactories, main, setCommandFactory, setGSSAuthenticator, setHost, setPasswordAuthenticator, setPort, setPublickeyAuthenticator, setSessionFactory, setShellFactory, setSubsystemFactories, setTcpipForwardingFilter, setUpDefaultServer, setUserAuthFactories, stop
      • Methods inherited from class org.apache.sshd.common.AbstractFactoryManager

        getAgentFactory, getChannelFactories, getCipherFactories, getCompressionFactories, getFileSystemFactory, getIoServiceFactory, getKeyExchangeFactories, getKeyPairProvider, getMacFactories, getNioWorkers, getProperties, getRandomFactory, getScheduledExecutorService, getSignatureFactories, getTcpipForwarderFactory, getTcpipForwardingFilter, getVersion, loadVersion, setAgentFactory, setChannelFactories, setCipherFactories, setCompressionFactories, setFileSystemFactory, setIoServiceFactory, setKeyExchangeFactories, setKeyPairProvider, setMacFactories, setNioWorkers, setProperties, setRandomFactory, setScheduledExecutorService, setScheduledExecutorService, setSignatureFactories, setTcpipForwarderFactory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.sshd.common.FactoryManager

        getAgentFactory, getChannelFactories, getCipherFactories, getCompressionFactories, getFileSystemFactory, getIoServiceFactory, getKeyExchangeFactories, getKeyPairProvider, getMacFactories, getProperties, getRandomFactory, getScheduledExecutorService, getSignatureFactories, getTcpipForwarderFactory, getTcpipForwardingFilter, getVersion
    • Method Detail

      • getHostKeys

        public java.util.List<com.jcraft.jsch.HostKey> getHostKeys()
        Specified by:
        getHostKeys in interface SshInfo
      • getIoAcceptor

        public org.apache.sshd.common.io.IoAcceptor getIoAcceptor()
      • start

        public void start()
        Specified by:
        start in interface com.google.gerrit.extensions.events.LifecycleListener
        Overrides:
        start in class org.apache.sshd.SshServer
      • stop

        public void stop()
        Specified by:
        stop in interface com.google.gerrit.extensions.events.LifecycleListener
        Overrides:
        stop in class org.apache.sshd.SshServer
      • checkConfig

        protected void checkConfig()
        Overrides:
        checkConfig in class org.apache.sshd.SshServer