Saltstack Official OpenSSH Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. generate_dsa_keys: False
  54. provide_dsa_keys: False
  55. dsa:
  56. private_key: |
  57. -----BEGIN DSA PRIVATE KEY-----
  58. NOT_DEFINED
  59. -----END DSA PRIVATE KEY-----
  60. public_key: |
  61. ssh-dss NOT_DEFINED
  62. generate_ecdsa_keys: False
  63. provide_ecdsa_keys: False
  64. ecdsa:
  65. private_key: |
  66. -----BEGIN EC PRIVATE KEY-----
  67. NOT_DEFINED
  68. -----END EC PRIVATE KEY-----
  69. public_key: |
  70. ecdsa-sha2-nistp256 NOT_DEFINED
  71. generate_rsa_keys: False
  72. provide_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