public interface SessionFactory
session channels
.Modifier and Type | Method and Description |
---|---|
Session |
startSession()
Opens a
session channel. |
Session startSession() throws SSHException
session
channel. The returned Session
instance allows executing a remote command
, starting a subsystem
, or starting a shell
.session
channelSSHException
Session