Fix aruba ssh host key algorithm (#75224)

pull/75528/head
apaperclip 2022-07-15 04:57:23 -04:00 committed by Franck Nijhof
parent fdaaed6523
commit 1b61d72eaf
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class ArubaDeviceScanner(DeviceScanner):
def get_aruba_data(self): def get_aruba_data(self):
"""Retrieve data from Aruba Access Point and return parsed result.""" """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) ssh = pexpect.spawn(connect)
query = ssh.expect( query = ssh.expect(
[ [