Subject: Re: openssh connection sharing

Re: openssh connection sharing

From: Peter Stuge <peter_at_stuge.se>
Date: Thu, 17 Jun 2010 22:41:36 +0200

Thomas Stover wrote:
> So in openssh there is this feature called connection sharing that lets a
> connection be reused.
..
> This is probably not documented anywhere except by just looking at the
> openssh code, but has anyone ever thought about this?

This is very much documented in the SSH protocol RFCs. One SSH
session can have multiple channels. Channels can be created at any
time.

> That would sure be cool.

It works fine in libssh2 too, but the interface is not a
controlmaster unix socket, but a C API. You create new channels using
the libssh2_channel_open_*() functions.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-17