Skip to content

Commit

Permalink
Enable option to modify SSHD Server Key visibility
Browse files Browse the repository at this point in the history
Enable option to modify SSHD Server Key visibility
CLOSE #28
  • Loading branch information
DO1JLR committed Aug 8, 2024
1 parent 184a808 commit 4d3dcce
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ There is also the ``l3d_users__ssh_login`` variable which only supports ``name``
| ``l3d_users__sshd_manage_macs`` | ``true`` | Manage Used MACs |
| ``l3d_users__sshd_macs`` | ``['[email protected]', '[email protected]', 'hmac-sha2-512']`` | Used MACs |
| ``l3d_users__sshd_xforwarding`` |``true`` | Enable X-Forwarding |
| ``l3d_users__server_key_mode`` | ``0600`` | Mode of SSHD Server keys in Filesystem |
| ``l3d_users__bashrc`` | ``true`` | Configure bashrc |
| ``l3d_users__root_bashrc`` | ``true`` | Set bashrc for root |
| ``l3d_users__dotfiles__bash_completion_enabled`` | ``true`` | Enable bash completion |
Expand Down
1 change: 1 addition & 0 deletions roles/sshd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ There is a third directory-variable called ``l3d_users__ssh_login: []`` which on
| ``l3d_users__sshd_manage_macs`` | ``true`` | Manage Used MACs |
| ``l3d_users__sshd_macs`` | ``['[email protected]', '[email protected]', 'hmac-sha2-512']`` | Used MACs |
| ``l3d_users__sshd_xforwarding`` |``true`` | Enable X-Forwarding |
| ``l3d_users__server_key_mode`` | ``0600`` | Mode of server keys in Filesystem |
| ``submodules_versioncheck`` | ``false`` | Optionaly enable simple versionscheck of this role |

Example Playbook
Expand Down
2 changes: 2 additions & 0 deletions roles/sshd/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,7 @@ l3d_users__sshd_macs:

l3d_users__sshd_xforwarding: true

l3d_users__server_key_mode: '0600'

# run simple versionscheck
submodules_versioncheck: false
2 changes: 1 addition & 1 deletion roles/sshd/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
playbook_version_number: 7
playbook_version_number: 8
playbook_version_path: 'l3d.users.sshd.version'

l3d_users_sshd__service_var_path:
Expand Down

0 comments on commit 4d3dcce

Please sign in to comment.