sshd.conf 974 B

12345678910111213141516171819202122232425262728
  1. [sshserver]
  2. bind_address = "0.0.0.0:2200"
  3. # The host key for SSH server. If it does not exist, a new
  4. # key will be generated.
  5. host_key_file = "./data/keys/sshhost.key"
  6. # If Host Key doesn't exist, how many bits will the new key
  7. # be generated.
  8. defult_key_length = 2048
  9. [auth]
  10. # The max times for trying bad passwords or certs.
  11. max_auth_tries = 3
  12. # The super user has permissions to manage users.
  13. super_user = admin
  14. # <username>:<bcrypt password>
  15. # One user per line.
  16. # You can use tools/bcryptGen to generated it.
  17. # e.g.:
  18. #
  19. # /home/gopath/git.swzry.com/zry/NSMCServerLauncher/tools $ ./bcryptGen admin admin
  20. # admin:$2a$10$F8XHjF/ZEtRF01VqAKBHOOO7cHXm3WcNY46Q..UWswXVlIEo23fuC
  21. # /home/gopath/git.swzry.com/zry/NSMCServerLauncher/tools $ ./bcryptGen test test123
  22. # test:$2a$10$jZ81hDAI4lTO5pBJBYbY4OJn5tuZAeqgFm.Kbe8waRfJpOxiGg.v.
  23. [users]
  24. admin:$2a$10$F8XHjF/ZEtRF01VqAKBHOOO7cHXm3WcNY46Q..UWswXVlIEo23fuC
  25. test:$2a$10$jZ81hDAI4lTO5pBJBYbY4OJn5tuZAeqgFm.Kbe8waRfJpOxiGg.v.