https://github.com/matsubara0507/octkeys
Manage ssh authorized keys by GitHub Account
https://github.com/matsubara0507/octkeys
haskell-application
Last synced: 10 months ago
JSON representation
Manage ssh authorized keys by GitHub Account
- Host: GitHub
- URL: https://github.com/matsubara0507/octkeys
- Owner: matsubara0507
- License: mit
- Created: 2020-01-04T07:37:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-04T10:12:48.000Z (almost 3 years ago)
- Last Synced: 2025-03-28T18:21:27.716Z (about 1 year ago)
- Topics: haskell-application
- Language: Haskell
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# octkeys
Manage ssh authorized keys by GitHub Account
## Requirement
Haskell Stack or Docker
## Usage
write config YAML file (ref. [example/.octkeys.yaml](example/.octkeys.yaml)).
```
$ octkeys --help
octkeys [options] [input-file]
-h --help Show this help text
--version Show version
-v --verbose Enable verbose mode: verbosity level "debug"
-F PATH --dotssh=PATH ssh config directory path instead of ~/.ssh
--watch Enable watch mode
$ octkeys -F example/.ssh example/.octkeys.yaml
finish: write example/.ssh/authorized_keys
```
## Build
```
$ stack build
```
### Docker
```
$ stack --docker build -j 1 Cabal # if out of memory in docker
$ stack --docker --local-bin-path=./bin install
$ docker build -t matsubara0507/octkeys . --build-arg local_bin_path=./bin
```