mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Drop HostKeyAlgorithms in aruba (#146619)
This commit is contained in:
parent
a66e9a1a2c
commit
1a5bc2c7e0
@ -89,7 +89,7 @@ class ArubaDeviceScanner(DeviceScanner):
|
|||||||
def get_aruba_data(self) -> dict[str, dict[str, str]] | None:
|
def get_aruba_data(self) -> dict[str, dict[str, str]] | None:
|
||||||
"""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} -o HostKeyAlgorithms=ssh-rsa"
|
connect = f"ssh {self.username}@{self.host}"
|
||||||
ssh: pexpect.spawn[str] = pexpect.spawn(connect, encoding="utf-8")
|
ssh: pexpect.spawn[str] = pexpect.spawn(connect, encoding="utf-8")
|
||||||
query = ssh.expect(
|
query = ssh.expect(
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user