[Twisted-Python] SFTP Server and Cred Example?

Justin Johnson justinjohnson at fastmail.fm
Sat Mar 27 21:07:40 EST 2004

Yeah, I have an admin tool for Rational ClearCase written using Twisted. 
For ClearCase MultiSite, a repository can be replicated to a different
server and kept up-to-date by sending packets to the server at regular
intervals.  The method ClearCase uses for shipping requires like 60,000
ports to be open which is pretty messed up.  I wanted to have a solution
with an SFTP server and client both implemented in twisted as an
alternative shipping method.  I wanted it implemented in twisted just
because that's what everything else is implemented in and it'd be cool to
not rely on any other software.

So I'd just run a command that creates a packet, and then send it over
via SFTP.  And ideally it'd be hooked up to cred so I can use the same
user db I use for the rest of the application.

Does that answer your question?


On Sat, 27 Mar 2004 12:40:16 +1000, "Andy Gayton"
<andy at thecablelounge.com> said:
> Paul Swartz wrote:
> > On Fri, 2004-03-26 at 10:20, Justin Johnson wrote:
> > 
> >>Does anyone have an example of how to use
> >>twisted.conch.ssh.filetransfer.FileTransferServer in conjunction with
> >>cred?
> > 
> > t.c.s.ft.SFTPServerForUnixConchUser is an example adapter from
> > UnixConchUser (which implements IConchUser (what cred gives for a
> > logged-in Conch user) to ISFTPServer.
> Justin out of interest did you have an example of what you'd like to do?
> Andy.
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list