Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluesky unable to enable SSH on macOS 10.15.1 #54

Open
AllPurposeBen opened this issue Nov 15, 2019 · 3 comments
Open

Bluesky unable to enable SSH on macOS 10.15.1 #54

AllPurposeBen opened this issue Nov 15, 2019 · 3 comments

Comments

@AllPurposeBen
Copy link
Contributor

Installing the agent on a virgin install that doesn't have SSH enabled, helper.sh is trying to use systemsetup to enable ssh but Apple has nerfed it:

root@users-Mac ~ # systemsetup -setremotelogin on
setremotelogin: Turning Remote Login on or off requires Full Disk Access privileges.

🖕 🍎

Sooooo a couple ways to address that I can think of:

  1. Do it the Apple way and change nothing, hope that there's some manual config to enable SSH and/or MDM has given systemsetup FDA rights. Since this kinda the only way to get ScreenSharing enabled, it wouldn't be unheard but it would be nice to at least get SSH always.

  2. Add a provision to helper.sh around line 129 that if we're running on 10.15, try this instead:
    /bin/launchctl load -w /System/Library/LaunchDaemons/ssh.plist
    Still seems to work.

I'd vote option 2 as something is better than nothing and it's a pretty easy workaround to code. I wanted to take public temperature before take the time to send up a PR if anyone can think of a better route.

@sphen13
Copy link
Contributor

sphen13 commented Jan 3, 2020

@AllPurposeBen have you done anything else with this? tempted to test out the launchctl option

@AllPurposeBen
Copy link
Contributor Author

IIRC, the fix #2 I mentioned worked in my limited testing but I had left it to the hive mind to weigh in before investing time on testing on mass and sending up a PR for the fix.

@sphen13
Copy link
Contributor

sphen13 commented Dec 29, 2020

this has been addressed in v2.3.2

https://github.com/sphen13/BlueSky/releases/tag/v2.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants