Python and SSH

Curtis Jensen cjensen at bioeng.ucsd.edu
Tue Jul 11 18:39:35 EDT 2000


Cary O'Brien wrote:
> 
> I'd like to have a running python process ACCEPT an incoming SSH
> connection.  Any ideas on how I could do this?
> 
> -- cary

If I'm not mistake SSH just sends data accross a socket, same as most
network protocals (I'm not sure which port SSH sends on).  You can use
the socketServer module to catch socket data from the SSH port.

-- 
Curtis Jensen
cjensen at bioeng.ucsd.edu
http://www-bioeng.ucsd.edu/~cjensen/
FAX (425) 740-1451



More information about the Python-list mailing list