java.lang.Object
org.eclipse.jgit.transport.ssh.jsch.JschSession
All Implemented Interfaces:
RemoteSession, RemoteSession2

public class JschSession extends Object implements RemoteSession2
Run remote commands using Jsch.

This class is the default session implementation using Jsch. Note that JschConfigSessionFactory is used to create the actual session passed to the constructor.

Since:
6.0
  • Constructor Details

    • JschSession

      public JschSession(com.jcraft.jsch.Session session, URIish uri)
      Create a new session object by passing the real Jsch session and the URI information.
      Parameters:
      session - the real Jsch session created elsewhere.
      uri - the URI information for the remote connection
  • Method Details