title: python; create file on remote server with variable file name
body: <p>Using the paramiko library in python im trying to touch a file on remote location and able to do so using below code..</p>
  <pre><code>ssh_client = paramiko.SSHClient()
  ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  ssh_client.connect(hostname=servername,username=usr,password=pass)
  cmd = &quot;touch /home/test/file.txt&quot;
  stdin, stdout, stderr = ssh_client.exec_command(cmd)
  stdout = stdout.readlines()
  stderr = stderr.readlines()
  </code></pre>
  <p>however, as next step the file im trying to create on remote having name depends on a variable.. so it should be like</p>
  <pre><code>cmd = &quot;touch /home/test/var_file.txt&quot;
  </code></pre>
  <p>where var could be anything a variable..
  i have tried server options to create that file but not working..
  can anyone guide on how to achieve it..</p>