Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Warning: This role disables root-login on the target server! Please make sure yo
|`ssh_allow_root_with_key` | false | false to disable root login altogether. Set to true to allow root to login via key-based mechanism.|
|`ssh_allow_tcp_forwarding` | false | false to disable TCP Forwarding. Set to true to allow TCP Forwarding.|
|`ssh_gateway_ports` | `false` | `false` to disable binding forwarded ports to non-loopback addresses. Set to `true` to force binding on wildcard address. Set to `clientspecified` to allow the client to specify which address to bind to.|
|`ssh_stream_local_bind_unlink` | `false` | `false` to disable the deletion of stale sockets when connecting to remote machine.|
|`ssh_allow_agent_forwarding` | false | false to disable Agent Forwarding. Set to true to allow Agent Forwarding.|
|`ssh_pam_support` | true | true if SSH has PAM support.|
|`ssh_use_pam` | false | false to disable pam authentication.|
Expand Down
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ ssh_allow_tcp_forwarding: false # sshd
# Set to 'clientspecified' to allow the client to specify which address to bind to.
ssh_gateway_ports: false # sshd

# false to disable the deletion of stale sockets when connecting to remote machine.
ssh_stream_local_bind_unlink: false # sshd

# false to disable Agent Forwarding. Set to true to allow Agent Forwarding.
ssh_allow_agent_forwarding: false # sshd

Expand Down
2 changes: 2 additions & 0 deletions templates/opensshd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ DebianBanner {{ 'yes' if (ssh_print_debian_banner|bool) else 'no' }}
# Reject keys that are explicitly blacklisted
RevokedKeys /etc/ssh/revoked_keys

StreamLocalBindUnlink {{ 'yes' if (ssh_stream_local_bind_unlink|bool) else 'no' }}

{% if sftp_enabled %}
# SFTP matching configuration
# ===========================
Expand Down