Interface SessionFactory
- All Superinterfaces:
RemoteAddressProvider
- All Known Implementing Classes:
SSHClient
A factory interface for creating SSH
session channels.-
Method Summary
Methods inherited from interface RemoteAddressProvider
getRemoteSocketAddress
-
Method Details
-
startSession
Opens asessionchannel. The returnedSessioninstance allowsexecuting a remote command,starting a subsystem, orstarting a shell.- Returns:
- the opened
sessionchannel - Throws:
SSHException- Thrown on session initialization failures- See Also:
-