News for hackers. Stuff that matters.
Re:An SSH server that knows who you are by ajphdiv on Monday February 17, 2020 @01:58AM (#22346061)
Aside from IdentitiesOnly setting. I assume storing keys outside of ~/.ssh and calling each key via config file or ssh -i would render this useless. Perhaps even a simple bash function to rotate the needed key in/out of .ssh.
Re:An SSH server that knows who you are by majewsky on Monday February 17, 2020 @04:39AM (#22346538)
You can still store your keys in ~/.ssh as long as you don't use the default file names. By default, ssh will only announce id_rsa, id_dsa, id_ecdsa and id_ed25519. But if your key for GitHub is stored in, say, ~/.ssh/id_github, it won't be offered unless explicitly requested with -i or the IdentityFile config option.