ssh
can't access LAN on MacOS Sequoia, "No route to host"
#6076
Replies: 1 comment
-
Update: even though some system programs worked (namely I had to uninstall the terminal emulator app then reboot. Then reinstall the app and re-grant permission. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew config
Output of
brew doctor
Description of issue
Hey there - I just upgraded to MacOS Sequoia and now I'm getting the error
ssh: connect to host <local address> port 22: No route to host
.This is a MacOS Sequoia privacy feature however I can't figure out how to enable it for homebrew ssh.
Just to confirm, I can
ssh -T git@github.com
or any other non-LAN address.I can
/usr/bin/ssh <local address>
and it works. So the issue is isolated to Homebrew OpenSSH.When I open the
System Settings::privacy & Security::Local Network
settings panel, I see my terminal emulator among other applications, but nossh
and I don't get a prompt to allow access.Update: I've also realized that
/usr/local/opt/curl/bin/curl
has the same behavior. I can/usr/local/opt/curl/bin/curl google.com
but not a local network address, but/usr/bin/curl
can fetch the local address. In this case the error iscurl: (7) Failed to connect to <address> port 80 after 50 ms: Could not connect to server
.Update 2: same for
rsync
Beta Was this translation helpful? Give feedback.
All reactions