Sunday, February 2, 2025

macos – Unable to hook up with distant servers utilizing SSH after adjusting community settings

I just lately needed to clear some community associated settings and preferences with a purpose to get on-line at an airport utilizing a captive hotspot. This was performed as a result of the login window was not opening in Safari or some other browser. I attempted utilizing http://captive.apple.com, however it will not launch the window.

After these adjustments had been made, I used to be in a position to get on-line on the airport wifi, however I’m now unable to hook up with my distant web site servers utilizing SSH within the Terminal app. After I strive to hook up with varied distant servers, the connection hangs and finally occasions out.

I’ve tried connecting to a number of servers utilizing verbose output, and the next is returned:

OpenSSH_9.8p1, LibreSSL 3.3.6 debug1: Studying configuration knowledge /Customers/username/.ssh/config debug1: /Customers/username/.ssh/config line 85: Making use of choices for * debug1: Studying configuration knowledge /and so on/ssh/ssh_config debug1: /and so on/ssh/ssh_config line 21: embrace /and so on/ssh/ssh_config.d/* matched no information debug1: /and so on/ssh/ssh_config line 54: Making use of choices for * debug2: resolve_canonicalize: hostname 178.128.228.188 is handle debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Customers/username/.ssh/known_hosts' debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Customers/username/.ssh/known_hosts2' debug1: Authenticator supplier $SSH_SK_PROVIDER didn't resolve; disabling debug3: channel_clear_timeouts: clearing debug3: ssh_connect_direct: coming into debug1: Connecting to 178.128.228.188 [178.128.228.188] port 22. debug3: set_sock_tos: set socket 3 IP_TOS 0x48 

Nothing is returned after the set_sock_tos line.

Issues that I’ve tried:

  • Tried enabling/disabling the built-in firewall, however it doesn’t appropriate the problem.
  • Tried eradicating plist information from Library > Preferences > System Configuration and restarted my MacBook to permit macOS to rebuild the desire information. This didn’t work. I backed up all the information previous to finishing this.

Replace

Choice checklist information backed up and faraway from the Library > Preferences > System Configuration folder:

  • com.apple.airport.preferences.plist
  • com.apple.wifi.message-tracer.plist
  • NetworkInterfaces.plist
  • preferences.plist

I’m able to connect with the servers by way of SFTP in Transmit with no points, and may do the identical by way of SSH on my iPhone utilizing Immediate.

No different adjustments had been made whereas making an attempt to hook up with the airport Wifi utilizing the captive hotspot.

Any concepts on how one can resolve this subject?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles