This repository was archived by the owner on Dec 26, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ Warning: This role disables root-login on the target server! Please make sure yo
5959| ` ssh_banner ` | ` false ` | ` true ` to print a banner on login |
6060| ` ssh_client_hardening ` | ` true ` | ` false ` to stop harden the client |
6161| ` ssh_client_port ` | ` '22' ` | Specifies the port number to connect on the remote host. |
62- | ` ssh_compression ` | ` false ` | Specifies whether compression is enabled after the user has authenticated successfully. |
62+ | ` ssh_client_compression ` | ` false ` | Specifies whether the client requests compression. |
63+ | ` ssh_compression ` | ` false ` | Specifies whether server-side compression is enabled after the user has authenticated successfully. |
6364| ` ssh_max_auth_retries ` | ` 2 ` | Specifies the maximum number of authentication attempts permitted per connection. |
6465| ` ssh_print_debian_banner ` | ` false ` | ` true ` to print debian specific banner |
6566| ` ssh_server_enabled ` | ` true ` | ` false ` to disable the opensshd server |
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ssh_server_enabled: true # sshd
88ssh_use_dns : false # sshd
99
1010# true or value if compression is needed
11+ ssh_client_compression : false # ssh
1112ssh_compression : false # sshd
1213
1314# For which components (client and server) to generate the configuration for. Can be useful when running against a client without an SSH server.
Original file line number Diff line number Diff line change @@ -113,8 +113,7 @@ PermitLocalCommand no
113113# Misc. configuration
114114# ===================
115115
116- # Enable compression. More pressure on the CPU, less on the network.
117- Compression yes
116+ Compression {{ 'yes' if (ssh_client_compression|bool) else 'no' }}
118117
119118#EscapeChar ~
120119#VisualHostKey yes
You can’t perform that action at this time.
0 commit comments