Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: trailofbits/algo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: trailofbits/algo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/cloud-init-ssh-config-indentation
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 2 contributors

Commits on Sep 15, 2025

  1. Fix SSH configuration indentation in cloud-init template

    The sshd_config file was being written with incorrect indentation due to
    the indent filter having first=True, which added 6 spaces to the first
    line of the template. This caused SSH daemon to fail parsing the config
    file, preventing SSH connections on the configured port (4160).
    
    Changed indent(width=6, first=True) to indent(width=6, first=False) to
    ensure the SSH configuration is written without leading spaces on each
    line, allowing sshd to properly parse the configuration.
    
    Fixes SSH connection timeouts during DigitalOcean deployments.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    dguido and claude committed Sep 15, 2025
    Configuration menu
    Copy the full SHA
    c9f0be9 View commit details
    Browse the repository at this point in the history
Loading