hassio-addons / addon-ssh

Advanced SSH & Web Terminal - Home Assistant Community Add-ons
https://addons.community
MIT License
339 stars 94 forks source link

default terminal ssh in windows won't connect #792

Closed dougransom closed 2 hours ago

dougransom commented 4 hours ago

Problem/Motivation

Use the ssh available in powershell in windows 11. Some sort of MAC error ocurrs.

Expected behavior

(What you expected to happen) ssh connection

Actual behavior

PS C:\Users\doug> ssh ha.local
Corrupted MAC on input.

Steps to reproduce

attempt to connect to home assistant via ssh in terminal (power shell, windows 11)

Proposed changes

Configure ssh on HA so that the ssh on terminal will connect without mac error.

The work around on Windows is ssh -m hmac-sha2-256-etm@openssh.com ha.local but that is too much for more mortal windows users. instead ssh should be configured on HA to negotiate whatever needs with windows terminal ssh.

sinclairpaul commented 2 hours ago

You can also put it in the local ssh config file, I doubt it would be wise to lower the security of the server based on the configuration of a client.