title: Subprocess Run SSH Python3
body: <p>I would like to connect to a network device like a Cisco router through Python with a SSH connection, I am using Subprocess but when it is a new device or the RSA key has been replaced and the message does not appear that if I want to replace the RSA key and the program terminates.</p>
  <p>Question about replacing the RSA key:</p>
  <pre><code>The authenticity of host '192.168.10.129 (192.168.10.129)' can't be established.
  RSA key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
  Are you sure you want to continue connecting (yes/no/[fingerprint])? no
  Host key verification failed.
  </code></pre>
  <p>Line of code I have:</p>
  <pre><code>subprocess.run(['ssh',v_user+'@'+v_ip])
  </code></pre>
  <p>What do I have to do to get this message to appear and enter yes?</p>