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