Connection info with AuthorizedKeysCommand

Darren Tucker dtucker at zip.com.au
Wed Nov 21 13:48:37 EST 2012


On Tue, Nov 20, 2012 at 08:52:38PM -0500, Anthony R Fletcher wrote:
> Agreed and I forgot that there was lots of power in the authorized_file
> format. What if we wanted the authorisation keys to depend on the server
> port?

You can specify different AuthorizedKeysCommand directives inside a
"Match Port" block.  Not super elegant if you have a lot of them, but
for two or three...

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list