[Buildbot-commits] [buildbot/buildbot-infra] e1d911: change the way sshd is configured

GitHub noreply at github.com
Tue Nov 25 19:37:07 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot-infra
  Commit: e1d91165003856b73fef9f5f3bd99c525a0ef838
      https://github.com/buildbot/buildbot-infra/commit/e1d91165003856b73fef9f5f3bd99c525a0ef838
  Author: Mikhail Sobolev <mss at mawhrin.net>
  Date:   2014-11-25 (Tue, 25 Nov 2014)

  Changed paths:
    A roles/base/tasks/noroot.yml
    M roles/ssh/tasks/main.yml
    R roles/ssh/templates/sshd_config.j2

  Log Message:
  -----------
  change the way sshd is configured

* use lineinfile for all things we care about
* disable root login via ssh
  * search for any existing PermitRootLogin instances
  * if found, replace with 'PermitRootLogin no', if not add
    'PermitRootLogin no' at the end of the file
* disable password authentication
* make sshd listen to public ip only
* enable sftp subsystem


  Commit: 633a61e418d3cb1492f0fd107e517fcd501f0fff
      https://github.com/buildbot/buildbot-infra/commit/633a61e418d3cb1492f0fd107e517fcd501f0fff
  Author: Mikhail Sobolev <mss at mawhrin.net>
  Date:   2014-11-25 (Tue, 25 Nov 2014)

  Changed paths:
    A roles/base/tasks/noroot.yml
    M roles/ssh/tasks/main.yml
    R roles/ssh/templates/sshd_config.j2

  Log Message:
  -----------
  Merge pull request #20 from sa2ajj/no-root-login

disable root login via SSH


Compare: https://github.com/buildbot/buildbot-infra/compare/59ee4e14a02e...633a61e418d3


More information about the Commits mailing list