Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct permissions for .ssh and authorized_keys (#25721) #25730

Merged
merged 1 commit into from
Jul 6, 2023

Commits on Jul 6, 2023

  1. Correct permissions for .ssh and authorized_keys (go-gitea#25721)

    Set the correct permissions on the .ssh directory and authorized_keys
    file, or sshd will refuse to use them and lead to clone/push/pull
    failures.
    
    It could happen when users have copied their data to a new volume and
    changed the file permission by accident, and it would be very hard to
    troubleshoot unless users know how to check the logs of sshd which is
    started by s6.
    
    Co-authored-by: Giteabot <teabot@gitea.io>
    wolfogre and GiteaBot committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    dc4b619 View commit details
    Browse the repository at this point in the history