--- client.py 2007-10-23 12:30:07.000000000 +0100 +++ ../../paramiko-copy/client.py 2007-10-19 10:32:45.000000000 +0100 @@ -348,6 +348,39 @@ @rtype: L{SFTPClient} """ return self._transport.open_sftp_client() + + def open_channel (self, kind, dest_addr=None, src_addr=None): + """Request a new channel to the server. L{Channel}s are socket-like + objects used for the actual transfer of data across the session. + + This method simply calls + L{open_channel} + on the underlying L{transport}, and has + the same parameters and results. + """ + return self._transport.open_channel (kind, dest_addr, src_addr) + + def open_x11_channel (self, src_addr=None): + """Request a new channel to the client, of type C{"x11"}. This + is equivalent to C{open_channel('x11', src_addr=src_addr)}. + + This method simply calls + L{open_x11_channel} + on the underlying L{transport}, and has + the same parameters and results. + """ + return self._transport.open_x11_channel (src_addr) + + def open_session (self): + """Request a new channel to the server, of type C{"session"}. This + is equivalent to C{open_channel('session')}. + + This method simply calls + L{open_session} + on the underlying L{transport}, and has + the same parameters and results. + """ + return self._transport.open_session () def _auth(self, username, password, pkey, key_filename): """