grit96
Posts: 4
Joined: Wed Apr 10, 2013 6:18 pm
Location: United Kingdom
Contact: Website

Web Based Python Telnet/SSH Terminal

Wed Apr 10, 2013 6:38 pm

Hi,

I have a social network built on my Pi. I have also been learning Python recently and have created a terminal based game of snake among other terminal based projects. My goal is to embed a telnet/SSH client within my website (probably on dvbis.no-ip.org instead of It's a Pi!) to allow users to access my Pi through an additional user account, without the need for a password. The user would be limited to their home directory, and will be unable to run any commands (except running the Python files). A script would be run at login which would create a wrapper for the user to run the Python files but would be unable to interact with the rest of the system. When they exit this wrapper they will also exit the telnet/SSH session.

The problem with all this is that I have no idea to go about doing it, and I have googled for a while without finding anything. If anyone can suggest what to do it will be greatly appreciated.

Thanks.

trouch
Posts: 310
Joined: Fri Aug 03, 2012 7:24 pm
Location: France
Contact: Website

Re: Web Based Python Telnet/SSH Terminal

Wed Apr 10, 2013 7:23 pm

you should look on adafruit webide
this is not a ssh web client, but it allows to edit and run python scripts.

WebIOPi - Raspberry Pi REST Framework to control your Pi from the web
http://store.raspberrypi.com/projects/webiopi
http://code.google.com/p/webiopi/
http://trouch.com

grit96
Posts: 4
Joined: Wed Apr 10, 2013 6:18 pm
Location: United Kingdom
Contact: Website

Re: Web Based Python Telnet/SSH Terminal

Wed Apr 10, 2013 8:16 pm

Hmm, I don't think that's what I want. I basically want something like the web based version of the Star Wars telnet simulation.

iDemm
Posts: 1
Joined: Tue Jan 29, 2013 8:16 pm

Re: Web Based Python Telnet/SSH Terminal

Thu Apr 11, 2013 1:39 am

Maybe check out shell in a box?

https://code.google.com/p/shellinabox/

Return to “Networking and servers”