don't create a "ConnectBot" group for ssh: URIs
when I select Termius to open an ssh: URI, it creates a group called "ConnectBot" that contains the new host entry. please fix it so it doesn't do that.

4 comments
-
hotaru@thinkindifferent.net commented
Termius is apparently doing this intentionally: https://docs.termius.com/termius-handbook/for-developers#external-intents
"Group (optional - by default it's set to ConnectBot)"
so if the other app doesn't specify a group, Termius unhelpfully creates a group called "ConnectBot" and puts the host into it.
-
hotaru@thinkindifferent.net commented
this is happening without ConnectBot installed. when another app requests to open an ssh: URI, Termius creates a group called "ConnectBot" and puts the host in that group.
the app requesting to open the URI is simply doing this: https://github.com/CypherpunkArmory/UserLAnd/blob/master/app/src/main/java/tech/ula/ServerService.kt
val connectBotIntent = Intent()
connectBotIntent.action = Intent.ACTION_VIEW
connectBotIntent.data = Uri.parse("ssh://${session.username}@localhost:2022/#userland")
connectBotIntent.flags = Intent.FLAG_ACTIVITY_NEW_TASKstartActivity(connectBotIntent)
it is not specifying ConnectBot in any way.
-
Anonymous commented
You have previously installed ConnectBot, and your device's default application settings are responsible for the behavior you're experiencing. I had this happen as well (and was actually kind of impressed that Terminus handled a co-existing app this cleanly)
I would recommend uninstalling ConnectBot, and possibly Terminus also, then clearing any default app settings, and reinstalling to start clean with any url/saved shortcut handling.
-
Anonymous commented
this sound like problem of another app from which you open ssh, it have specified connectbot in shortcut or something..