Drop HostKeyAlgorithms in aruba (#146619)

This commit is contained in:
Vasilis Valatsos 2025-06-13 18:47:07 +02:00 committed by Franck Nijhof
parent e7a88e99f9
commit f0fc87e2b6
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952

View File

@ -89,7 +89,7 @@ class ArubaDeviceScanner(DeviceScanner):
def get_aruba_data(self) -> dict[str, dict[str, str]] | None:
"""Retrieve data from Aruba Access Point and return parsed result."""
connect = f"ssh {self.username}@{self.host} -o HostKeyAlgorithms=ssh-rsa"
connect = f"ssh {self.username}@{self.host}"
ssh: pexpect.spawn[str] = pexpect.spawn(connect, encoding="utf-8")
query = ssh.expect(
[