Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joker1007/generate_ssh_keys
Provides chef definitions: generate_ssh_keys, authorized_keys
https://github.com/joker1007/generate_ssh_keys
Last synced: 2 days ago
JSON representation
Provides chef definitions: generate_ssh_keys, authorized_keys
- Host: GitHub
- URL: https://github.com/joker1007/generate_ssh_keys
- Owner: joker1007
- License: mit
- Created: 2013-04-03T02:19:29.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-03T03:26:28.000Z (over 11 years ago)
- Last Synced: 2024-04-15T22:38:39.140Z (7 months ago)
- Language: Ruby
- Size: 97.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generate\_ssh\_keys cookbook
This provides `generate_ssh_keys` and `authorized_keys` definitions.# Install
Write Berksfile
```ruby
cookbook "generate_ssh_keys", git: "git://github.com/joker1007/generate_ssh_keys.git"
```# Usage
```ruby
# Generate id_rsa and id_rsa.pub in /home/joker1007/.ssh
generate_ssh_keys "joker1007" do
user "joker1007"
home "/home/joker1007"
end# Add id_rsa.pub to /home/joker1007/.ssh/authorized_keys
# if authorized_keys exists, nothing to do
authorized_keys "joker1007" do
user "joker1007"
group "joker1007"
home "/home/joker1007"
end
```# Attributes
# Recipes
# Author
Author:: joker1007