Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Allow enabling X11Forwarding #216

Closed
RogerSik opened this issue Apr 29, 2019 · 2 comments
Closed

Allow enabling X11Forwarding #216

RogerSik opened this issue Apr 29, 2019 · 2 comments
Labels

Comments

@RogerSik
Copy link

Is there a variable to allow X11Forwarding? We need it for a few developer ssh machines.

@rndmh3ro
Copy link
Member

Hey Roger,

there's no specific variable to allow X11Forwarding.

However you can set it like this, if you use the latest master branch (with this PR included: #217):

---
- hosts: localhost
  vars:
    sshd_custom_options:
      - "X11Forwarding yes"
  roles:
    - ansible-ssh-hardening

@rndmh3ro rndmh3ro added this to Up for grabs in Hacktoberfest 2019 Oct 2, 2019
@rndmh3ro
Copy link
Member

rndmh3ro commented Oct 4, 2019

Closing as the aforementioned way to set this should work.

@rndmh3ro rndmh3ro closed this as completed Oct 4, 2019
Hacktoberfest 2019 automation moved this from Up for grabs to Done Oct 4, 2019
@rndmh3ro rndmh3ro removed this from Done in Hacktoberfest 2019 Oct 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants