docs icon indicating copy to clipboard operation
docs copied to clipboard

Updated docs/content/authentication/troubleshooting-ssh/error-permiss…

Open RainyCityCoder opened this issue 1 month ago • 2 comments

…ion-denied-publickey.md with steps to verify local ssh permissions. Changes only include additions; nothing removed.

Why:

When troubleshooting my own connectivity issues I found that local permissions were the cause of non-connectivity, and the steps necessary to check and adjust those permissions have been added to this PR.

Closes:

#41382

What's being changed (if available, include any code snippets, screenshots, or gifs):

In brief I've added the following SSH file permission troubleshooting console/terminal commands:

$ eval "$(ssh-agent -s)"
$ ssh-add ~/ssh-directory/<keyfile>
$ chmod 700 /ssh-directory
$ chmod 600 /ssh-directory/<keyfile>
$ chmod 644 /ssh-directory/<keyfile>.pub
$ ssh-add ~/ssh-directory/<keyfile>

Check off the following:

  • [x] A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • [x] The changes in this PR meet the docs fundamentals that are required for all content.
  • [x] All CI checks are passing and the changes look good in the review environment.

RainyCityCoder avatar Nov 22 '25 01:11 RainyCityCoder

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
authentication/troubleshooting-ssh/error-permission-denied-publickey.md fpt
ghec
ghes@ 3.18 3.17 3.16 3.15 3.14
fpt
ghec
ghes@ 3.18 3.17 3.16 3.15 3.14

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

github-actions[bot] avatar Nov 22 '25 01:11 github-actions[bot]

@RainyCityCoder Thanks for opening an issue and PR! I will look into this and let you know what our teams want to do.

Sharra-writes avatar Nov 22 '25 05:11 Sharra-writes