Comments (8)
aruba documentation
aruba source
from core.
Just contacted an Aruba expert and apparently ssh-rsa has been deprecated as it is deemed insecure (he couldn't tell me when exactly, though).
Therefore, the issue could only be fixed on the Aruba side by downgrading the Aruba IAPs which should not be a solution.
from core.
Same error for me, using the same Aruba Instant version and running HA7.2
from core.
Just removing the -o option altogether also works. This is what I've been doing for months now but it's getting annoying since I have to do it every time Home Assistant updates.
I hit this after upgrading to AOS 8.12 so I expect that any version of HA will hit this when talking to APs on AOS 8.12 or later.
Thanks for raising this bug.
# diff device_tracker.py.BEFORE device_tracker.py.AFTER
92c92
< connect = f"ssh {self.username}@{self.host} -o HostKeyAlgorithms=ssh-rsa"
---
> connect = f"ssh {self.username}@{self.host}"
from core.
Just removing the -o option altogether also works. This is what I've been doing for months now but it's getting annoying since I have to do it every time Home Assistant updates.
I hit this after upgrading to AOS 8.12 so I expect that any version of HA will hit this when talking to APs on AOS 8.12 or later.
Thanks for raising this bug.
# diff device_tracker.py.BEFORE device_tracker.py.AFTER 92c92 < connect = f"ssh {self.username}@{self.host} -o HostKeyAlgorithms=ssh-rsa" --- > connect = f"ssh {self.username}@{self.host}"
I am trying to make the "ssh [email protected]" but Homeassinstant reply with:
Unable to negotiate with 192.168.1.4 port 22: no matching key exchange method found. Their offer: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
Can you help me where is the device_tracker.py file located to update it?
Thanks
from core.
Just removing the -o option altogether also works. This is what I've been doing for months now but it's getting annoying since I have to do it every time Home Assistant updates.
I hit this after upgrading to AOS 8.12 so I expect that any version of HA will hit this when talking to APs on AOS 8.12 or later.
Thanks for raising this bug.# diff device_tracker.py.BEFORE device_tracker.py.AFTER 92c92 < connect = f"ssh {self.username}@{self.host} -o HostKeyAlgorithms=ssh-rsa" --- > connect = f"ssh {self.username}@{self.host}"
I am trying to make the "ssh [email protected]" but Homeassinstant reply with:
Unable to negotiate with 192.168.1.4 port 22: no matching key exchange method found. Their offer: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
Can you help me where is the device_tracker.py file located to update it?
Thanks
Just to confirm, is 192.168.1.4 the IP address of your Aruba AP or the device running Home Assistant?
With respect to the file location, I run Home Assistant in a docker and the file is located at:
/usr/src/homeassistant/homeassistant/components/aruba/device_tracker.py
from core.
Just removing the -o option altogether also works. This is what I've been doing for months now but it's getting annoying since I have to do it every time Home Assistant updates.
I hit this after upgrading to AOS 8.12 so I expect that any version of HA will hit this when talking to APs on AOS 8.12 or later.
Thanks for raising this bug.# diff device_tracker.py.BEFORE device_tracker.py.AFTER 92c92 < connect = f"ssh {self.username}@{self.host} -o HostKeyAlgorithms=ssh-rsa" --- > connect = f"ssh {self.username}@{self.host}"
I am trying to make the "ssh [email protected]" but Homeassinstant reply with:
Unable to negotiate with 192.168.1.4 port 22: no matching key exchange method found. Their offer: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
Can you help me where is the device_tracker.py file located to update it?
ThanksJust to confirm, is 192.168.1.4 the IP address of your Aruba AP or the device running Home Assistant?
With respect to the file location, I run Home Assistant in a docker and the file is located at:
/usr/src/homeassistant/homeassistant/components/aruba/device_tracker.py
The ip 192.168.1.4 is the ip of Aruba Virtual-controller.
I am running HAOS and tried to find the device_tracker file but no luck...
Also I have downgrade my Aruba cluster to AOS8.10.0.10 again and I still continue with the problem.
from core.
Just removing the -o option altogether also works. This is what I've been doing for months now but it's getting annoying since I have to do it every time Home Assistant updates.
I hit this after upgrading to AOS 8.12 so I expect that any version of HA will hit this when talking to APs on AOS 8.12 or later.
Thanks for raising this bug.# diff device_tracker.py.BEFORE device_tracker.py.AFTER 92c92 < connect = f"ssh {self.username}@{self.host} -o HostKeyAlgorithms=ssh-rsa" --- > connect = f"ssh {self.username}@{self.host}"
I am trying to make the "ssh [email protected]" but Homeassinstant reply with:
Unable to negotiate with 192.168.1.4 port 22: no matching key exchange method found. Their offer: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
Can you help me where is the device_tracker.py file located to update it?
ThanksJust to confirm, is 192.168.1.4 the IP address of your Aruba AP or the device running Home Assistant?
With respect to the file location, I run Home Assistant in a docker and the file is located at:
/usr/src/homeassistant/homeassistant/components/aruba/device_tracker.py
The ip 192.168.1.4 is the ip of Aruba Virtual-controller.
I am running HAOS and tried to find the device_tracker file but no luck...
Also I have downgrade my Aruba cluster to AOS8.10.0.10 again and I still continue with the problem.
I'm not familiar with HAOS but it seems its default ssh config doesn't support any of the KexAlgorithms supported by the AP, at least on that version of AOS. You can try using the -o option or ssh config to tell ssh to use an additional KexAlgorithms, or adjust the ssh config, but I'm not sure if this will survive an HAOS upgrade.
Do you hit exact same error on 8.11 or 8.12?
See:
- https://unix.stackexchange.com/questions/402746/ssh-unable-to-negotiate-no-matching-key-exchange-method-found
- https://www.openssh.com/legacy.html
from core.
Related Issues (20)
- Unable to load calendar or developer tools since upgrade HOT 4
- Openweathermap 2.5 API selectable again, but still raises a repair issue? HOT 1
- ZHA Integration Appears In Discovery After Every Reboot Despite Zigbee2MQTT Setup HOT 1
- Enphase Envoy battery reserve setting not working HOT 11
- unifi policy-based routes are not showing as switch in the integration HOT 5
- Shelly Plus Smoke configured but without entities (reopened) HOT 6
- Setup failed for 'evohome': Unable to import component: No module named 'evohomeasync' HOT 7
- history_stats helper displays time in decimal places HOT 2
- PowerView Hub Unresponsive After Blind Calibration HOT 2
- HomeKit Thermostat Not Communicating Properly With Home Assistant after 2024.8 HOT 9
- AttributeError: 'TransportNSW' object has no attribute 'get_departures' HOT 1
- ruckus_unleashed: Detected blocking call to load_default_certs HOT 3
- WLED should have BC with older versions HOT 2
- SCAPE integration fails to update after scan_interval HOT 3
- Speedtest download results significanlty lower on HA HOT 1
- Matter nodes offline HOT 5
- NWS shows EU METRARs falsely as „unavailable “ HOT 9
- Daikin AC integrations not working after HA Core 2024.8.0 to 8.1 HOT 3
- Issue integration Daikin - BRP069B41 unexcepted error HOT 2
- TPLink P100 Not configurable HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.