Saltstack Official OpenSSH Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

pillar.example 2.1KB

před 10 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. sshd_config:
  2. Port: 22
  3. Protocol: 2
  4. HostKey:
  5. - /etc/ssh/ssh_host_rsa_key
  6. - /etc/ssh/ssh_host_dsa_key
  7. - /etc/ssh/ssh_host_ecdsa_key
  8. UsePrivilegeSeparation: 'yes'
  9. KeyRegenerationInterval: 3600
  10. ServerKeyBits: 768
  11. SyslogFacility: AUTH
  12. LogLevel: INFO
  13. LoginGraceTime: 120
  14. PermitRootLogin: 'yes'
  15. PasswordAuthentication: 'no'
  16. StrictModes: 'yes'
  17. RSAAuthentication: 'yes'
  18. PubkeyAuthentication: 'yes'
  19. IgnoreRhosts: 'yes'
  20. RhostsRSAAuthentication: 'no'
  21. HostbasedAuthentication: 'no'
  22. PermitEmptyPasswords: 'no'
  23. ChallengeResponseAuthentication: 'no'
  24. X11Forwarding: 'yes'
  25. X11DisplayOffset: 10
  26. PrintMotd: 'no'
  27. PrintLastLog: 'yes'
  28. TCPKeepAlive: 'yes'
  29. AcceptEnv: "LANG LC_*"
  30. Subsystem: "sftp /usr/lib/openssh/sftp-server"
  31. UsePAM: 'yes'
  32. UseDNS: 'yes'
  33. matches:
  34. sftp_chroot:
  35. type:
  36. Group: sftpusers
  37. options:
  38. ChrootDirectory: /sftp-chroot/%u
  39. X11Forwarding: no
  40. AllowTcpForwarding: no
  41. ForceCommand: internal-sftp
  42. openssh:
  43. auth:
  44. joe:
  45. - name: JOE_VALID_SSH_PUBLIC_KEY
  46. present: True
  47. enc: ssh-rsa
  48. comment: main key
  49. - name: JOE_NON_VALID_SSH_PUBLIC_KEY
  50. present: False
  51. enc: ssh-rsa
  52. comment: obsolete key - removed
  53. dsa:
  54. private_key: |
  55. -----BEGIN DSA PRIVATE KEY-----
  56. NOT_DEFINED
  57. -----END DSA PRIVATE KEY-----
  58. public_key: |
  59. ssh-dss NOT_DEFINED
  60. ecdsa:
  61. private_key: |
  62. -----BEGIN EC PRIVATE KEY-----
  63. NOT_DEFINED
  64. -----END EC PRIVATE KEY-----
  65. public_key: |
  66. ecdsa-sha2-nistp256 NOT_DEFINED
  67. provide_dsa_keys: False
  68. provide_ecdsa_keys: False
  69. provide_rsa_keys: False
  70. generate_dsa_keys: False
  71. generate_ecdsa_keys: False
  72. generate_rsa_keys: False
  73. rsa:
  74. private_key: |
  75. -----BEGIN RSA PRIVATE KEY-----
  76. NOT_DEFINED
  77. -----END RSA PRIVATE KEY-----
  78. public_key: |
  79. ssh-rsa NOT_DEFINED
  80. generate_ed25519_keys: False
  81. provide_ed25519_keys: False
  82. ed25519:
  83. private_key: |
  84. -----BEGIN OPENSSH PRIVATE KEY-----
  85. NOT_DEFINED
  86. -----END OPENSSH PRIVATE KEY-----
  87. public_key: |
  88. ssh-ed25519 NOT_DEFINED