Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit 6832ec8

Browse files
author
Sebastian Gumprich
committed
update readme and tests
1 parent 7cf4e9e commit 6832ec8

File tree

2 files changed

+6
-33
lines changed

2 files changed

+6
-33
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ Warning: This role disables root-login on the target server! Please make sure yo
7070
|`ssh_use_dns` | `false` | Specifies whether sshd should look up the remote host name, and to check that the resolved host name for the remote IP address maps back to the very same IP address. |
7171
|`ssh_server_revoked_keys` | [] | a list of revoked public keys that the ssh server will always reject, useful to revoke known weak or compromised keys.|
7272
|`ssh_max_startups` | '10:30:100' | Specifies the maximum number of concurrent unauthenticated connections to the SSH daemon.|
73+
|`ssh_macs` | [] | Change this list to overwrite macs. Defaults found in `defaults/main.yml` |
74+
|`ssh_kex` | [] | Change this list to overwrite kexs. Defaults found in `defaults/main.yml` |
75+
|`ssh_ciphers` | [] | Change this list to overwrite ciphers. Defaults found in `defaults/main.yml` |
7376

7477
## Example Playbook
7578

tests/default_custom.yml

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -65,45 +65,15 @@
6565
ssh_authorized_principals_file: '/etc/ssh/auth_principals/%u'
6666
ssh_authorized_principals :
6767
- { path: '/etc/ssh/auth_principals/root', principals: [ 'root' ], owner: "{{ ssh_owner }}", group: "{{ ssh_group }}", directoryowner: "{{ ssh_owner }}", directorygroup: "{{ ssh_group}}" }
68-
ssh_macs_53_default:
69-
- hmac-ripemd160
70-
- hmac-sha1
71-
ssh_macs_59_default:
68+
ssh_macs:
7269
- hmac-sha2-512
7370
- hmac-sha2-256
74-
- hmac-ripemd160
75-
- hmac-sha1
76-
ssh_macs_66_default:
77-
78-
79-
80-
- hmac-sha2-512
81-
- hmac-sha2-256
82-
- hmac-sha1
83-
ssh_macs_76_default:
84-
85-
86-
87-
- hmac-sha2-512
88-
- hmac-sha2-256
89-
- hmac-sha1
90-
ssh_ciphers_53_default:
91-
- aes256-ctr
92-
- aes192-ctr
93-
- aes128-ctr
94-
- aes256-cbc
95-
ssh_ciphers_66_default:
96-
97-
98-
71+
ssh_ciphers:
9972
- aes256-ctr
10073
- aes192-ctr
10174
- aes128-ctr
10275
- aes256-cbc
103-
ssh_kex_59_default:
104-
- diffie-hellman-group-exchange-sha256
105-
- diffie-hellman-group-exchange-sha1
106-
ssh_kex_66_default:
76+
ssh_kex:
10777
10878
- diffie-hellman-group-exchange-sha256
10979
- diffie-hellman-group-exchange-sha1

0 commit comments

Comments
 (0)