You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-auth add --users=one two three # Add GitHub users to authorized keys
95
+
gh-auth help [COMMAND] # Describe available commands or one specific command
96
+
gh-auth list # List all GitHub users already added to authorized keys
97
+
gh-auth remove --users=one two three # Remove GitHub users from authorized keys
98
+
gh-auth version # Show gh-auth version
99
+
100
+
Options:
101
+
[--host=HOST]
102
+
[--path=PATH]
103
+
```
85
104
86
-
options:
87
-
--add doug,sally Add GitHub users
88
-
--remove doug,sally Remove GitHub users
89
-
--list List all GitHub users added
90
-
--version Show version
105
+
Use the `help` command for help on a specific command.
106
+
107
+
```
108
+
$ gh-auth help add
109
+
Usage:
110
+
gh-auth add --users=one two three
111
+
112
+
Options:
113
+
--users=one two three
114
+
[--command=COMMAND]
115
+
[--host=HOST]
116
+
[--path=PATH]
117
+
118
+
Description:
119
+
`gh-auth add` is used to add one or more GitHub user's public SSH keys to ~/.ssh/authorized_keys. All keys stored on github.com for that user will be added.
120
+
121
+
> $ gh-auth add --users=chrishunt zachmargolis
122
+
> Adding 6 key(s) to '/Users/chris/.ssh/authorized_keys'
123
+
124
+
By default, users will be granted normal shell access. If you'd like to specify an ssh command that should execute when the user connects, use the `--command` option.
0 commit comments