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

Python __call__ special method practical example -

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -