Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • renovate/configure
  • hotfix/cleanup-vars
  • v2.7.1
  • v2.7.0
  • v2.6.1
  • v2.6.0
  • v2.5.2
  • v2.5.1
  • v2.5.0
  • v2.4
  • v2.4.0
  • v2.3
  • v2.2
  • v2.1
  • v2.0
  • v1.0.4
  • v1.0.3
  • v1.0.2
  • v1.0.1
  • v1.0
21 results

sshd

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • Forked from FSI Ansible / sshd
    12 commits behind the upstream repository.

    General

    This role installs and configures an OpenSSH-Server. It uses Mozilla's Modern Config

    Variables

    • sshd_ports: The ports (as list) sshd should listen on. (Default: 22)
    • sshd_permit_root_login: Allow Root-Login (Default: no)
    • sshd_allow_pubkeys: Allow login with pubkey (Default: yes)
    • sshd_allow_passwords: Allow login with passwords (Default: no)
    • sshd_print_motd: Print the MotD after login (Default: no)
    • sshd_agent_forwarding: Allow Agent-Forwarding (Default: no)
    • sshd_tcp_forwarding: Allow TCP-Forwarding (Default: no)
    • sshd_x11_forwarding: Allow X11-Forwarding (Default: no)
    • sshd_listen_addresses: The addresses sshd should listen on. (Default: 0.0.0.0 and ::)

    Example Playbook

    In your requirements.yml add:

    - src: https://gitlab.fachschaften.org/fsi-ansible/sshd.git
      scm: git
      name: sshd
      version: "v2.5.2"

    In your Playbook add:

        - name: Setup and configure sshd
          become: yes
          roles:
            - sshd