1. [django] https://www.djangoproject.com/
2. [flask ] http://flask.pocoo.org/
######### Try this ####
You should start with paramiko library, it has not so difficult api. And there are some examples bundled with library.
You can create ssh client, pass hostname, port, username, and user's key file in constructor, create shell, run your command and read commands output, stdout only. You can read stderr separately, or combine it with stdout.
You can create ssh client, pass hostname, port, username, and user's key file in constructor, create shell, run your command and read commands output, stdout only. You can read stderr separately, or combine it with stdout.
##########################
http://www.lag.net/paramiko/
https://github.com/paramiko/paramiko
https://github.com/paramiko/paramiko/blob/master/demos/demo_simple.py
http://jessenoller.com/blog/2009/02/05/ssh-programming-with-paramiko-completely-different
http://hackerific.net/2009/02/06/paramiko-scripting-ssh-with-python/
http://www.minvolai.com/blog/2009/09/how-to-ssh-in-python-using-paramiko/
http://stackoverflow.com/questions/378811/getting-python-to-work-internal-server-error
FastCGI configuration in python:
http://www.electricmonk.nl/docs/apache_fastcgi_python/apache_fastcgi_python.html
External Link:
http://stackoverflow.com/questions/629919/why-avoid-cgi-for-python-with-lamp-hosting
http://legacy.python.org/dev/peps/pep-0333/
http://wsgi.readthedocs.org/en/latest/
http://wsgi.readthedocs.org/en/latest/frameworks.html
http://stackoverflow.com/questions/11825242/how-to-execute-the-commands-on-remote-host-using-ssh-from-a-web-based-applicatio
[Python: RPC Call ]
No comments:
Post a Comment