Skip to content
Snippets Groups Projects
Commit 64ce28f0 authored by Miguel de Icaza's avatar Miguel de Icaza
Browse files

Allows the session to be reused for more than one task at a time.

This enables for instance to start an SSH connection, and then
use various channels over it.

The SSHChannel no longer is a subclass of an SSHSession, which made
things awkward when attempting to use the session again.

Instead, the session is a field in the channel, and new channels can
be constructed from the session if this is available.

This also turns off the sample that defaulted to publicKey
authentication.
parent 4e83a501
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment