File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 11# OpenSSH AuthorizedKeysCommand GitHub
22
33![ GitHub Actions status for "test-all"] ( https://github.com/mazgi/openssh-authorizedkeyscommand-github/workflows/test-all/badge.svg )
4+
5+ Get your SSH Public Key from GitHub.
6+
7+ ``` console
8+ > openssh-authorizedkeyscommand-github --help
9+ OpenSSH AuthorizedKeysCommand GitHub
10+
11+ Usage:
12+ openssh-authorizedkeyscommand-github --user=<user>
13+ openssh-authorizedkeyscommand-github (--help | --version)
14+
15+ Options:
16+ --user=<user> GitHub user.
17+ -V, --version Show version.
18+ -h, --help Show this screen.
19+ ```
20+
21+ ## How to use
22+
23+ 1 . Place the binary in your ` $PATH ` .
24+
25+ 2 . Update ` /etc/ssh/sshd_config ` .
26+
27+ ``` ssh_config
28+ AuthorizedKeysCommand /usr/local/bin/openssh-authorizedkeyscommand-github --user %u
29+ ```
30+
31+ 3 . Restart SSH server.
You can’t perform that action at this time.
0 commit comments