title: Running process of remote SSH server in the background using Python Paramiko
body: <p>I am finding hard to run a process on a remote SSH server at background using Paramiko. I used :</p>
  <pre><code>stdin, stdout, stderr = ssh.exec_command('executefile.py &amp;') 
  </code></pre>
  <p>and found that no process of <code>executefile.py</code> was found running.</p>
  <p>Then I tried using other way as including a backward slash:</p>
  <pre><code>stdin, stdout, stderr = ssh.exec_command('executefile.py \&amp;') 
  </code></pre>
  <p>This method worked. There was an instance running on machine but no surprise, it was not running at background. I could come to know as it is not running at background as when code stuck at second line after this code. It was</p>
  <pre><code>all_inf = stdout.readlines()
  </code></pre>
  <p>Now code was not going beyond above line unless the process of the script was killed.</p>
  <p>I am learning Paramiko, any help is appreciated.</p>