SSH X11 Forwarding Display is a tricky thing to establish on different Windows operating systems.
MobaXterm is a free Xserver and tabbed SSH client for Windows Operating Systems which allows you to run native Linux Applications like they are running on your Windows. Continue reading →
We’ll create a new python project using wsgi (web server gateway interface)
Python based web applications can be served in several ways. You can use the old and good CGI interface, or use the more common used mod_python. FastCGI and SCGI are also an option. but most of those ways supports the WSGI interface which is the recommended way. You can learn more about each way, and the cons and pros of each, and what is wsgi in this great tutorial/article: How to use python in the web.
We’ll build a skeleton for a Python based WSGI web application hosted on Apache HTTPd. I’ve choosed WSGI over other methods to promote web application portability across a variety of web servers.
Apache HTTPd Service running and working. trim instance is better.
How to establish SSH connection without password between two linux/unix machines
Generate the files: [id_rsa], [id_rsa.pub] in the First Machine by typing at command (do not use a password – just hit Enter*) :
[code lang=”bash” inline=”yes”]ssh-keygen[/code]
* You don’t want to enter any passwords, because you want to call ssh from a within a shell script.
** The randomart is an easier way for humans to validate keys.
Copy (and rename) id_rsa.pub to authorized_keys on Server (run from the same computer you run ssh-keygen);
[code lang=”bash” inline=”yes”]scp -r -P 22 /root/.ssh/id_rsa.pub destination:/root/.ssh/authorized_keys [/code] Where destination is server B.
Now you can connect as root without a password between the servers.