title: Eliminate ASCII or / - SSH Paramiko Python
body: <p>When I remote execute commands and print the output of the same, I get the path with <code>/</code> in the output:</p>
  
  <pre><code>\[root\@kali ~\]\
  </code></pre>
  
  <p>How do I get the output as:</p>
  
  <pre><code>[root@kali `]
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code> import paramiko
   import sys
  
  
  server=ip
  port=22
  username=un
  password=pd
  
  ssh = paramiko.SSHClient()
  ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  ssh.connect(server, username=username, password=password)
  
  channel = ssh.invoke_shell()
  
  channel.send('uname')
  channel.send('\n')
  channel_data = str()
  
  channel_bytes = channel.recv(9999)
  channel_data = channel_bytes.decode("utf-8")
  
  if channel.recv_ready():
      print(channel_data)
  </code></pre>