Fix aruba ssh host key algorithm (#75224)
parent
fdaaed6523
commit
1b61d72eaf
|
@ -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(
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue