Fix aruba ssh host key algorithm (#75224)

This commit is contained in:
apaperclip 2022-07-15 04:57:23 -04:00 committed by GitHub
parent 3f3ed3a2c5
commit 06e905054e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ class ArubaDeviceScanner(DeviceScanner):
def get_aruba_data(self):
"""Retrieve data from Aruba Access Point and return parsed result."""
connect = f"ssh {self.username}@{self.host}"
connect = f"ssh {self.username}@{self.host} -o HostKeyAlgorithms=ssh-rsa"
ssh = pexpect.spawn(connect)
query = ssh.expect(
[