Skip to content

Commit 89a6016

Browse files
Updated docs/content/authentication/troubleshooting-ssh/error-permission-denied-publickey.md to be specific about what keyfile is being altered.
1 parent 08cba06 commit 89a6016

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/authentication/troubleshooting-ssh/error-permission-denied-publickey.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ If you don't see your public key in {% data variables.product.github %}, you'll
271271
272272
```shell
273273
$ chmod 700 /ssh-directory
274-
$ chmod 600 /ssh-directory/*
275-
$ chmod 644 /ssh-directory/*.pub
274+
$ chmod 600 /ssh-directory/<keyfile>
275+
$ chmod 644 /ssh-directory/<keyfile>.pub
276276
```
277277
278278
1. After setting permissions, reattempt to add the keyfile. An `Identity added` message indicates success.
@@ -305,8 +305,8 @@ If you don't see your public key in {% data variables.product.github %}, you'll
305305
306306
```shell
307307
$ chmod 700 /ssh-directory
308-
$ chmod 600 /ssh-directory/*
309-
$ chmod 644 /ssh-directory/*.pub
308+
$ chmod 600 /ssh-directory/<keyfile>
309+
$ chmod 644 /ssh-directory/<keyfile>.pub
310310
```
311311
312312
1. After setting permissions, reattempt to add the keyfile. An `Identity added` message indicates success.
@@ -339,8 +339,8 @@ If you don't see your public key in {% data variables.product.github %}, you'll
339339
340340
```shell
341341
$ chmod 700 /ssh-directory
342-
$ chmod 600 /ssh-directory/*
343-
$ chmod 644 /ssh-directory/*.pub
342+
$ chmod 600 /ssh-directory/<keyfile>
343+
$ chmod 644 /ssh-directory/<keyfile>.pub
344344
```
345345
346346
1. After setting permissions, reattempt to add the keyfile. An `Identity added` message indicates success.

0 commit comments

Comments
 (0)