


I've also run ssh -vvvX myserver xlogo, but the copious output is not very meaningful to me, and I'm not able to diagnose the problem from it. If then I run xlogo, I get the same error as shown above.īTW, the local ssh client/X11 server is an Ubuntu laptop, and the remote ssh server/X11 client is a workstation running OS X Lion. The connection succeeds, and I get logged in to myserver. the xlogo window pops up, as expected), so I suspect the problem is with myserver (and not with my local configuration). If I use the same command to connect to a different server it works fine (i.e. Either way, I never see the xlogo window.) (I get the same error if I use -Y instead of -X. X11 connection rejected because of wrong authentication.Įrror: Can't open display: localhost:10.0 Technically, you could leave the default installed openssh alone, but that will still get used when using the macOS GUI (System Preferences > Sharing) to enable ssh ("Remote Login"), unless you managed to edit the above-named plist to point to your updated version.When I try to establish an X11-forwarding connection to myserver, I get the following error: % ssh -X myserver xlogo One might be able to do so temporarily, but that's another hill to climb/problem to solve. No-one with a meaningful knowledge of security and macOS (Mac OS X) will recommend disabling SIP. System/Library/LaunchDaemons/ssh.plistto use said upgraded ssh (which will get installed via MacPorts - by default - to /opt/local ), which is no small task especially for Mojave, in which /System is protected by SIP. Upgrading is easy, use MacPorts (many will without question suggest homebrew, I prefer and recommend MacPorts based on historical - personal - experience).
How fix ssh problem for os x install#
Any ideas on how this is done?įirst thing to note is that ssh is not enabled by default on any install of OS X (excluding server, which is a now-dead version, as a separate build and customizations of OS X). This doesn't seem to be as straight forward as on A PC. Our vulnerability reports show that our Macs are running OpenSSH 7.9 and need to be updated to 8.1.
