[Jason Gunthorpe <jgg at ualberta.ca>] Global RSA hosts patch
Philip Hands
phil at hands.com
Wed Nov 24 20:39:47 EST 1999
Here's a patch from Jason Gunthorpe that looks generally useful.
It's actually aimed at the Debian LDAP setup, so we can have a file
generated from everyone's ssh_identity data, and still only allow each
person to log in as themselves.
Cheers, Phil.
P.S. I hope the MIME inclusion survives, if not I'll put a copy here:
http://www.hands.com/~phil/debian/openssh/
--[[message/rfc822]]
Date: Wed, 24 Nov 1999 00:42:00 -0700 (MST)
From: Jason Gunthorpe <jgg at ualberta.ca>
To: bcollins at debian.org, ssh at packages.debian.org
Subject: Global RSA hosts patch
Message-ID: <Pine.LNX.3.96.991124003731.2155Z-200000 at wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1744382920-943429320=:2155"
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime at docserver.cac.washington.edu for more info.
--8323328-1744382920-943429320=:2155
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi all,
I ported my patch to openssh, could you possibly review it for inclusion
in the official package + upstream?
What it does is create a new configuration option 'GlobalRSAFile' that can
specify a global file of RSA public keys. Each line in the file is
prefixed by '<uid>:' to key the key to the proper user, it is used as part
of a wider global login scheme :>
Thanks,
Jason
--8323328-1744382920-943429320=:2155
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="openssh1.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.991124004200.2155a at wakko.deltatee.com>
Content-Description:
T25seSBpbiBvcGVuc3NoLTEuMnByZTEzK2pnZzogTWFrZWZpbGUNCk9ubHkg
aW4gb3BlbnNzaC0xLjJwcmUxMytqZ2c6IGF1dGgtcGFzc3dkLm8NCk9ubHkg
aW4gb3BlbnNzaC0xLjJwcmUxMytqZ2c6IGF1dGgtcmgtcnNhLm8NCk9ubHkg
aW4gb3BlbnNzaC0xLjJwcmUxMytqZ2c6IGF1dGgtcmhvc3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
cHJlMTMvc3NoZC5jIG9wZW5zc2gtMS4ycHJlMTMramdnL3NzaGQuYw0KLS0t
IG9wZW5zc2gtMS4ycHJlMTMvc3NoZC5jCVdlZCBOb3YgMjQgMDA6MzY6NDEg
MTk5OQ0KKysrIG9wZW5zc2gtMS4ycHJlMTMramdnL3NzaGQuYwlXZWQgTm92
IDI0IDAwOjA0OjMwIDE5OTkNCkBAIC0xNDIxLDcgKzE0MjEsNyBAQA0KIAlw
YWNrZXRfZ2V0X2JpZ251bShuLCAmbmxlbik7DQogCXBhY2tldF9pbnRlZ3Jp
dHlfY2hlY2socGxlbiwgbmxlbiwgdHlwZSk7DQogDQotCWF1dGhlbnRpY2F0
ZWQgPSBhdXRoX3JzYShwdywgbik7DQorCWF1dGhlbnRpY2F0ZWQgPSBhdXRo
X3JzYShwdywgbiwwKSB8fCBhdXRoX3JzYShwdyxuLDEpOw0KIAlsb2coIlJT
QSBhdXRoZW50aWNhdGlvbiAlcyBmb3IgJS4xMDBzLiIsDQogCSAgICBhdXRo
ZW50aWNhdGVkID8gImFjY2VwdGVkIiA6ICJmYWlsZWQiLA0KIAkgICAgcHct
PnB3X25hbWUpOw0KT25seSBpbiBvcGVuc3NoLTEuMnByZTEzK2pnZzogc3No
ZC5vDQpPbmx5IGluIG9wZW5zc2gtMS4ycHJlMTMramdnOiB0aWxkZXhwYW5k
Lm8NCk9ubHkgaW4gb3BlbnNzaC0xLjJwcmUxMytqZ2c6IHR0eW1vZGVzLm8N
Ck9ubHkgaW4gb3BlbnNzaC0xLjJwcmUxMytqZ2c6IHVpZHN3YXAubw0KT25s
eSBpbiBvcGVuc3NoLTEuMnByZTEzK2pnZzogeG1hbGxvYy5vDQo=
--8323328-1744382920-943429320=:2155--
--[[text/plain]]
More information about the openssh-unix-dev
mailing list