This repository was archived by the owner on Dec 26, 2020. It is now read-only.
File tree 3 files changed +4
-3
lines changed
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
59
59
| ` ssh_banner ` | ` false ` | ` true ` to print a banner on login |
60
60
| ` ssh_client_hardening ` | ` true ` | ` false ` to stop harden the client |
61
61
| ` 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. |
63
64
| ` ssh_max_auth_retries ` | ` 2 ` | Specifies the maximum number of authentication attempts permitted per connection. |
64
65
| ` ssh_print_debian_banner ` | ` false ` | ` true ` to print debian specific banner |
65
66
| ` 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
8
8
ssh_use_dns : false # sshd
9
9
10
10
# true or value if compression is needed
11
+ ssh_client_compression : false # ssh
11
12
ssh_compression : false # sshd
12
13
13
14
# 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
113
113
# Misc. configuration
114
114
# ===================
115
115
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' }}
118
117
119
118
#EscapeChar ~
120
119
#VisualHostKey yes
You can’t perform that action at this time.
0 commit comments