Interface SshConnection

All Superinterfaces:
EventTrigger

public interface SshConnection extends EventTrigger
  • Method Details

    • getUsername

      String getUsername()
    • getProperty

      Object getProperty(String key)
    • setProperty

      void setProperty(String key, Object value)
    • containsProperty

      boolean containsProperty(String key)
    • getSessionId

      String getSessionId()
    • getLocale

      Locale getLocale()
    • setUsername

      void setUsername(String username)
    • disconnect

      void disconnect(String message)
    • disconnect

      void disconnect(int reason, String message)
    • getLocalAddress

      InetAddress getLocalAddress()
    • getLocalPort

      int getLocalPort()
    • getRemotePort

      int getRemotePort()
    • isAuthenticated

      boolean isAuthenticated()
    • getContext

      Context getContext()
    • executeTask

      void executeTask(Runnable r)
    • getConnectionManager

      SshConnectionManager getConnectionManager()
    • isConnected

      boolean isConnected()
    • isDisconnecting

      boolean isDisconnecting()
    • addTask

      void addTask(Integer queue, ConnectionAwareTask connectionAwareTask)
    • getServerVersion

      String getServerVersion()
    • openChannel

      void openChannel(Channel channel)
    • getUUID

      String getUUID()
    • getRemoteIdentification

      String getRemoteIdentification()
    • startLogging

      void startLogging() throws IOException
      Throws:
      IOException
    • startLogging

      void startLogging(Log.Level trace) throws IOException
      Throws:
      IOException
    • disconnect

      void disconnect()
    • addEventListener

      void addEventListener(EventListener listener)
    • removeEventListener

      void removeEventListener(EventListener listener)
    • addTask

    • getRemotePublicKeys

      String[] getRemotePublicKeys()
    • getRemoteKeyExchanges

      String[] getRemoteKeyExchanges()
    • getRemoteCompressionsCS

      String[] getRemoteCompressionsCS()
    • getRemoteCompressionsSC

      String[] getRemoteCompressionsSC()
    • getRemoteCiphersCS

      String[] getRemoteCiphersCS()
    • getRemoteCiphersSC

      String[] getRemoteCiphersSC()
    • getRemoteMacsCS

      String[] getRemoteMacsCS()
    • getRemoteMacsSC

      String[] getRemoteMacsSC()
    • getHostKey

      SshPublicKey getHostKey()
    • getKeyExchangeInUse

      String getKeyExchangeInUse()
    • getHostKeyInUse

      String getHostKeyInUse()
    • getCipherInUseCS

      String getCipherInUseCS()
    • getCipherInUseSC

      String getCipherInUseSC()
    • getMacInUseCS

      String getMacInUseCS()
    • getMacInUseSC

      String getMacInUseSC()
    • getCompressionInUseCS

      String getCompressionInUseCS()
    • getCompressionInUseSC

      String getCompressionInUseSC()
    • sendGlobalRequest

      @Deprecated void sendGlobalRequest(GlobalRequest request, boolean wantReply)
      Deprecated.
    • getAuthenticatedFuture

      AbstractRequestFuture getAuthenticatedFuture()
    • getDisconnectFuture

      AbstractRequestFuture getDisconnectFuture()
    • removeProperty

      void removeProperty(String string)
    • getSessionCount

      int getSessionCount()
    • getTotalBytesIn

      long getTotalBytesIn()
    • getTotalBytesOut

      long getTotalBytesOut()
    • getRemoteIPAddress

      String getRemoteIPAddress()
    • sendGlobalRequest

      void sendGlobalRequest(GlobalRequest request)
    • sendGlobalRequestAndWait

      void sendGlobalRequestAndWait(GlobalRequest request, long timeout)