Interface SessionFactory
-
- All Known Implementing Classes:
SSHClient
public interface SessionFactoryA factory interface for creating SSHsession channels.
-
-
Method Summary
Modifier and Type Method Description SessionstartSession()Opens asessionchannel.
-
-
-
Method Detail
-
startSession
Session startSession() throws SSHException
Opens asessionchannel. The returnedSessioninstance allowsexecuting a remote command,starting a subsystem, orstarting a shell.- Returns:
- the opened
sessionchannel - Throws:
SSHException- See Also:
Session
-
-