Add ssh-rsa as acceptable an host key algorithm (#74684)
This commit is contained in:
parent
fd7330ea77
commit
06530ebfa1
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class UnifiDeviceScanner(DeviceScanner):
|
|||
def _connect(self):
|
||||
"""Connect to the Unifi AP SSH server."""
|
||||
|
||||
self.ssh = pxssh.pxssh()
|
||||
self.ssh = pxssh.pxssh(options={"HostKeyAlgorithms": "ssh-rsa"})
|
||||
try:
|
||||
self.ssh.login(
|
||||
self.host, self.username, password=self.password, port=self.port
|
||||
|
|
Loading…
Add table
Reference in a new issue