350-401 Python for Network Automation • Set 2
350-401 Python for Network Automation Practice Test 2 — 15 questions with explanations. Free, no signup.
A network engineer writes a Python script using Paramiko to execute a command on a Cisco IOS device:
```python
import paramikossh = paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect('192.168.1.1', username='admin', password='cisco123') stdin, stdout, stderr = ssh.exec_command('show version') output = stdout.read().decode()
print(output)ssh.close() ```
What is a potential issue with this approach?