macOS homebrew tap for the ondevice commandline client.
You can install this using:
brew install ondevice/tap/ondevice
After that, use ondevice login
to authenticate.
See docs.ondevice.io for details.
If you want to be able to access your Mac using ondevice ssh
on other computers, you'll have to start ondevice daemon
(and make sure you've used a 'device' key to authenticate when running ondevice login
).
To autostart ondevice daemon
, use:
brew services start ondevice
Make sure you enable your Mac's SSH server.
Have a look at the main ondevice repo for more detailed information.