mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Fix aruba ssh host key algorithm (#75224)
This commit is contained in:
parent
3f3ed3a2c5
commit
06e905054e
@ -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…
x
Reference in New Issue
Block a user