- SwiftDefaultApps - https://github.com/Lord-Kamina/SwiftDefaultApps
- Platypus - https://sveinbjorn.org/platypus
Use Platypus to create org.codemedic.SSHHandler app, as an ssh
URL handler, making use of the applescript below.
Not sure, but I am told to run it once to get the URL handler registered.
open -a org.codemedic.SSHHandler
Now we need to register the app as the default SSH URL handler. For this, make use of swda
from SwiftDefaultApps.
./swda setHandler --URL ssh --application org.codemedic.SSHHandler
Thats it!
Now you can try it using open ssh://server.myhost.com
from terminal.