Python and SSH
Erno Kuusela
erno at iki.fi
Wed Jul 12 13:39:04 EDT 2000
>>>>> "Cary" == Cary O'Brien <cobrien at Radix.Net> writes:
Cary> I'd like to have a running python process ACCEPT an incoming
Cary> SSH connection. Any ideas on how I could do this?
have a look at the connection forwarding features of ssh (see the -R
and -L options).
alternatively you could set up a command= parameter for the rsa keys
of your clients in .ssh/authorized_keys and run your python program
from there. (docs for this are in the sshd manual page, under
"AUTHORIZED_KEYS FILE FORMAT".)
-- erno
More information about the Python-list
mailing list