Skip to content

Commit 22ea1e8

Browse files
authored
Update README.md
1 parent d472f3e commit 22ea1e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ Options:
2626
curl -L https://github.com/mazgi/openssh-authorizedkeyscommand-github/releases/download/v0.0.1/openssh-authorizedkeyscommand-github.x86_64-unknown-linux-gnu.tar.gz | sudo tar xz -C /usr/local/bin/
2727
```
2828

29-
2. Update `/etc/ssh/sshd_config`.
29+
2. Update `/etc/ssh/sshd_config` like below.
3030

3131
```ssh_config
32+
AuthorizedKeysCommandUser nobody
3233
AuthorizedKeysCommand /usr/local/bin/openssh-authorizedkeyscommand-github --user %u
3334
```
3435

0 commit comments

Comments
 (0)