Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admin: Fix compatibility with OpenSSH 7
Motivation: DSA keys are disabled by default in OpenSSH 7. Modification: Add RSA keys in the install scripts. Fixes a bug in the admin door in which it erroneously included the public key as a private key. The public key file is not used by the door as the public key is embedded in the file with they private key. Generalizes the admin door to accept a list of private keys. Thus existing DSA keys will continue to work. Result: Switched admin to generate both DSA and RSA keys to make it compatible with OpenSSH 7 clients. Introduced admin.paths.host-keys. Target: trunk Request: 2.16 Request: 2.15 Request: 2.14 Request: 2.13 Require-notes: yes Require-book: yes Acked-by: Paul Millar <paul.millar@desy.de> Reviewed at https://rb.dcache.org/r/9416/ (cherry picked from commit 92fbe53)
- Loading branch information
Showing
8 changed files
with
74 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
packages/system-test/src/main/skel/etc/admin/ssh_host_rsa_key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEoAIBAAKCAQEAspj9O1KvIrXzSqClOdWyXOxX4WBFUacVNq20Cb/OjJFTjYf9 | ||
4ayMt97ckQbT83nteL5D9si7qFLSw+smeJd3TaJmuPuSMgrlDm9SVr1s1u8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c/ipAnj4k/F74kQbI4kvOy11F5TEA8uH | ||
K0cs4ccMlh9FoaOIYAnFSMN+e0CnINe2VSnlvAdwmcuEvh3Zvlqw+X90vV66dRQ3 | ||
U5YHT5U/droMKNJ2h8kCgYAvtI9fA1DPXkd9mCjfTBecjriDZT7cy1DDxVsnoENp | ||
MMDe0CzOKwbHSU1kf102q9EV1nRHXW2I2WLzMdZyz0xM8ev/43jt8iqUXSfcObTE | ||
StmRmApEb3qe3QoX3i85WA0FhpFMN+ELj4qL7Y2RoG28DDMBp+vSAcNfmrIbFMC0 | ||
EQKBgAC1bKPabrMl8T8N+UAVLK4yoyzioZ0H47BlaC+3b+FvGBl+DjrbC40HO54T | ||
qJ3niOgIlDOpbZV829q13ADNaC/XFYfwOL1o18fxnWOJ9jlsrM31Ix3Tegfl1g+c | ||
Hz9Fsee7Su5dJNNfHTtFA8UhjQpXz9vUHz2tRtnGtd4tlc/z | ||
-----END RSA PRIVATE KEY----- |
1 change: 1 addition & 0 deletions
1
packages/system-test/src/main/skel/etc/admin/ssh_host_rsa_key.pub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCymP07Uq8itfNKoKU51bJc7FfhYEVRpxU2rbQJv86MkVONh/3hrIy33tyRBtPzee14vkP2yLuoUtLD6yZ4l3dNoma4+5IyCuUOb1JWvWzW7yoz6jNt644I/uf6lx8PMOEBBF3AGoSXo/8NV/8MTmIDLiV1bgH4on5qq5tPPd4JhfVZmIKfqHdv1VjgFIE93G+dUbNW172N7VmNwjwXpQD0Fpz4C5j3pLoeBuElsQFMfiwvOoJuzugyM1iuEDaYUOkgwfBb3Aotg6nbSAM4TeNnvyeyld9JvAHEK5o2/Ja2diC1PixdsIHSUm5W1om5xllWOU6Yx8bCu21i5ayt07Ax behrmann@Gerds-MacBook-Pro.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters