GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    mort (mort@fosstodon.org)'s status on Monday, 20-Jan-2025 00:39:06 JSTmortmort

    Okay this is wild: I just noticed that changing 'PasswordAuthentication' to 'no' in /etc/ssh/sshd_config is no longer enough to disable password authentication in #ubuntu. That's because Ubuntu Server now by default creates a sshd_config.d/50-cloud-init.conf file which contains 'PasswordAuthentication yes' which takes priority over sshd_config.

    I would've unknowingly left password auth on if I hadn't double checked.

    Why?

    More: https://askubuntu.com/questions/1516262/why-is-50-cloud-init-conf-created

    #security #linux #server #ubuntuserver

    In conversationabout 4 months ago from fosstodon.orgpermalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: cdn.sstatic.net
      Why is "50-cloud-init.conf" created?
      I was setting up an ubuntu server and, like 99% of all people, one of the first things I do is to disable password authentication in favor of keys. On other distros and in other times this is done by
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.