Skip to content

Instantly share code, notes, and snippets.

@clegett
Last active December 29, 2017 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clegett/55de4eed53e685f03bf03139086da6c5 to your computer and use it in GitHub Desktop.
Save clegett/55de4eed53e685f03bf03139086da6c5 to your computer and use it in GitHub Desktop.
ssh-server:
pkg.installed:
- name: openssh-server
/etc/ssh/ssh_config:
file.managed:
- source: salt://sshd/ssh_config
- user: root
- group: root
- mode: 444
- require:
- pkg: openssh-server
sshd:
service.running:
- enable: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment