[Tutor] security with ssh??

Tim Wilson wilson@visi.com
Tue, 27 Aug 2002 06:40:34 -0500


On Tue, Aug 27, 2002 at 11:18:19PM +1200, Thomi Richards wrote:
> 
> Is there any easy way that any of you ppl can think of, to provide an
> ssh login to a computer, using python?? So that the user can ssh in
> normally, but instead of sshing in to the actual machine, they end up
> running the python program instead, and when they quit the python
> program, they are disconnected?? I ask because i could not find any sort
> of ssh module for python. does anyone know of one?

How about setting the user's login shell to /usr/bin/python?

-Tim

-- 
Tim Wilson      |   Visit Sibley online:   | Check out:
Henry Sibley HS |  http://www.isd197.org   | http://www.zope.com
W. St. Paul, MN |                          | http://slashdot.org
wilson@visi.com |  <dtml-var pithy_quote>  | http://linux.com