Actions
User story #4117
closedExtend OpenSSH technique
Status:
Rejected
Priority:
1 (highest)
Assignee:
-
Category:
Techniques
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
Since the OpenSSH technique lacks lots of options to configure, I tried to add something at the end with the "enforce a file content" technique. To be clear, the sshd_config file should first be edited by the OpenSSH technique to have a base install/config and then I want to add something to the end. This doesn't work.
- In the OpenSSH technique I configured PasswordAuthentication to be no
- in the enforce file content I added this:
Match User foobar PasswordAuthentication yes
After one run of cf-agent the file ends like this:
PasswordAuthentication no Match User spaceobserver PasswordAuthentication no Port 22
If i now run cf-agent multiple times, the file ends like this:
PasswordAuthentication no Match User spaceobserver PasswordAuthentication no PasswordAuthentication no PasswordAuthentication no PasswordAuthentication no Port 22
Note: I saw this behaviour before: the OpenSSH technique adds options multiple times, which most times is harmless, but ugly.
Updated by Vincent MEMBRÉ over 11 years ago
- Category set to Techniques
- Status changed from New to 8
- Assignee set to Matthieu CERDA
- Priority changed from N/A to 1 (highest)
Updated by Jonathan CLARKE over 11 years ago
- Assignee changed from Matthieu CERDA to Nicolas CHARLES
Updated by Nicolas CHARLES over 11 years ago
- Status changed from 8 to Discussion
- Assignee changed from Nicolas CHARLES to Dennis Cabooter
Updated by Benoît PECCATTE over 8 years ago
- Tracker changed from Bug to User story
- Subject changed from OpenSSH technique is not consequent to Extend OpenSSH technique
Updated by Benoît PECCATTE over 7 years ago
- Target version changed from 4.1.10 to Ideas (not version specific)
Actions