Custom aliases and OpenSSH fields for SSH Bookmarks
SSH bookmarks is a great feature - one I was intending on building myself until I found 1Password's docs for it. However, it is missing a couple important features for me to be truly happy with it.
I setup aliases for my common SSH hosts, and would like to be able to add these into 1Password.
In particular, I want to be able to set custom names for each bookmark. For instance, I SSH to my university's servers typically with `ssh unsw`, not the far longer `ssh zXXXXXXX@loginX.cse.unsw.edu.au`, which is what the bookmark matches on.
In addition, some of these bookmarks are for trusted hosts, where I want to enable `ForwardAgent yes` or similar additional OpenSSH options, and being able to use bookmarks to set these across my devices would be extremely helpful.
Currently, I have a config file local to each computer that contains something like the following for each host:
Host unsw
User zXXXXXXX
HostName loginX.cse.unsw.edu.au
ForwardAgent yes
CanonicalizeHostname yes
This converts `unsw` to the long form user and host that is matched by the bookmark config. Ideally, these could all be configured via 1Password.
A generic syntax for custom OpenSSH options would also solve other missing properties mentioned by others on this forum (e.g. ports).
