Fix typo in SSH connection string for cisco ios device_tracker (#138584)

Update device_tracker.py

Typo in "uft-8" -> pxssh.pxssh(encoding="utf-8")
pull/139088/head
javers99 2025-02-23 00:45:44 +00:00 committed by GitHub
parent 5b0eca7f85
commit 8ce2727447
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class CiscoDeviceScanner(DeviceScanner):
"""Open connection to the router and get arp entries.""" """Open connection to the router and get arp entries."""
try: try:
cisco_ssh: pxssh.pxssh[str] = pxssh.pxssh(encoding="uft-8") cisco_ssh: pxssh.pxssh[str] = pxssh.pxssh(encoding="utf-8")
cisco_ssh.login( cisco_ssh.login(
self.host, self.host,
self.username, self.username,