https://bugzilla.mindrot.org/show_bug.cgi?id=2054
Darren Tucker <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Darren Tucker <[email protected]> --- Assuming you're using public-key authentication (it's not clear if you're that or hostbased) you can use the "environment=" key directive in authorized_keys to implement something like this already, eg: environment="SSH_KEY=key1" AAAA[...]1 environment="SSH_KEY=key2" AAAA[...]2 see the section on "AUTHORIZED_KEYS FILE FORMAT" in sshd(8). Note that you'll need to enable PermitUserEnvironment in sshd_config for this to work. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
