x2go_rev_forward_sftpchannel_handler(chan=None,
auth_key=None,
logger=None)
| source code
|
Handle incoming sFTP channels that got setup by an X2GoRevFwTunnelToSFTP instance.
The channel (and the corresponding connections) close either ...
-
... if the connecting application closes the connection and thus,
drops the sFTP channel, or
-
... if the X2GoRevFwTunnelToSFTP parent thread gets paused. The
call of X2GoRevFwTunnelToSFTP.pause() on the instance can be
used to shut down all incoming tunneled SSH connections associated to
this X2GoRevFwTunnelToSFTP instance from within a Python
X2Go application.
- Parameters:
chan (paramiko.Channel instance) - an incoming sFTP channel
auth_key (paramiko.RSAKey instance) - Paramiko/SSH RSAkey object that has to be authenticated against
by the remote sFTP client
logger (X2GoLogger instance) - you must pass an X2GoLogger object to this handler method
|