On Sep 7, 2004, at 7:40 PM, Andy Gayton wrote:
Paul Swartz wrote:
Jason, just a quick note.
I've been putting off changing over to the new component architecture so I'm working against a pretty out of date version of trunk.
It's not just you :) I downloaded SFTPGateway, a Twisted program that serves as a secure proxy to a regular FTP server, because I thought I could glean some insights into SFTP from it. But it doesn't use any of Twisted's actual SFTP implementation code, as far as I can tell, and I'm not sure I want to pick apart all the code they wrote from scratch. (Plus, it's for Zope, not standalone...) In other news, I downloaded the latest SVN and am trying to pick apart the sshsimpleserver.py example again. The log output, below, claims the factory has been created and is opening the port, but I can't connect to it, and using nmap I can see that the port is not actually open. There's one warning I can't quite interpret. Can anyone help me figure this out? The regular echoserver example works just fine. Thanks, Jason --STARTUP-- 2004/09/07 22:01 EDT [-] Log opened. 2004/09/07 22:01 EDT [-] __main__.ExampleFactory starting on 5022 2004/09/07 22:01 EDT [-] Starting factory <__main__.ExampleFactory instance at 0x406f4d0c> 2004/09/07 22:01 EDT [-] disabling diffie-hellman-group-exchange because we cannot find moduli file --SHUTDOWN-- 2004/09/07 22:02 EDT [-] Received SIGINT, shutting down. 2004/09/07 22:02 EDT [__main__.ExampleFactory] (Port 5022 Closed) 2004/09/07 22:02 EDT [__main__.ExampleFactory] Stopping factory <__main__.ExampleFactory instance at 0x406f4d0c> 2004/09/07 22:02 EDT [-] Main loop terminated.