mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add ssh-rsa as acceptable an host key algorithm (#74684)
This commit is contained in:
parent
fd7330ea77
commit
06530ebfa1
@ -80,7 +80,7 @@ class UnifiDeviceScanner(DeviceScanner):
|
|||||||
def _connect(self):
|
def _connect(self):
|
||||||
"""Connect to the Unifi AP SSH server."""
|
"""Connect to the Unifi AP SSH server."""
|
||||||
|
|
||||||
self.ssh = pxssh.pxssh()
|
self.ssh = pxssh.pxssh(options={"HostKeyAlgorithms": "ssh-rsa"})
|
||||||
try:
|
try:
|
||||||
self.ssh.login(
|
self.ssh.login(
|
||||||
self.host, self.username, password=self.password, port=self.port
|
self.host, self.username, password=self.password, port=self.port
|
||||||
|
Loading…
x
Reference in New Issue
Block a user