adamcooke / key-installer
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
f631b71
commit f631b710990a0153146930c91d0ca317d898f108
tree 3d0ff8e55b450715522e5614786e00ec5991e2c8
parent 53ef0b9b484b519630b16b09338685954db3e594
tree 3d0ff8e55b450715522e5614786e00ec5991e2c8
parent 53ef0b9b484b519630b16b09338685954db3e594
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.rdoc | ||
| |
bin/ | ||
| |
key_installer.gemspec | ||
| |
lib/ |
README.rdoc
SSH Key Installation
A tiny script to copy your SSH public keys from your local machine to a remote server. It’ll search your .ssh/ folder for known public keys and if it finds one, it’ll add it to the remote authorized_keys file.
Install
gem sources -a http://gems.github.com sudo gem install adamcooke-key-installer
Usage
Install the default public key to a server called myserver.com for a user called ‘dave’
install-key dave@myserver.com
Install a key from /home/user/my_key.pub to a server
install-key phil@anotherserver.com --key /home/user/my_key.pub
Install default keys to a server running an un-standard SSH port
install-key sarah@mylittlebox.com -p 12345

