fgimian / paramiko-expect

A Python expect-like extension for the Paramiko SSH library which also supports tailing logs.
MIT License
205 stars 78 forks source link

null characters in interact.current_output_clean #31

Open sdn3rd opened 7 years ago

sdn3rd commented 7 years ago

On a Cisco ASA after doing a certificate request, there is a \x00 character in the output that I am having to use re.sub to remove.

This can be re-created on any Cisco ASA by creating a certificate request:

crypto ca trustpoint SSL-Trustpoint

fruch commented 7 years ago

can you supply more details ? or an example of the output ?