Writing a telnet server in Python and embedding IPython as shell -


i trying write simple telned server expose ipython shell connected client. know how ?

the question embedding ipython shell telnet server (i can use twisted telnet server part )

thx

you perhaps use true telnet or ssh server , set user's login shell ipython. instance, given user name 'adam', perhaps change user's /etc/passwd line like:

adam:x:1000:1000:adam frist,,,:/home/adam:/usr/bin/ipython 

typically final segment in line actual login shell bash, doesn't have be. advantage can skip coding solution yourself, there may disadvantage in might have hack environment variable or python path work.

you can read more /etc/passwd file @ linux information project.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -