Skip to content

Instantly share code, notes, and snippets.

jshdfgjdshfg

@nomad-fr
nomad-fr / gen-backup-authorized.sls
Created February 6, 2018 10:43
salt : limit ssh key with options in authorized_keys
{% set option1 = 'no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,no-user-rc' %}
{% set command = '/home/backupuser/authorized.sh' %}
{%
set blah = {
'user1': {
'ip': '192.168.0.2',
'comment': 'Nom Prenom 20.11.2017',
'vol': 'volume1',
@nomad-fr
nomad-fr / test.md
Last active January 17, 2017 09:29

testdf