adamcooke / key-installer
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
commit 1e4397a43fc6c349cd1815f67da0e7a74301f768
tree c809f2756ba4514a800282edcea5b194366c694c
parent f631b710990a0153146930c91d0ca317d898f108
tree c809f2756ba4514a800282edcea5b194366c694c
parent f631b710990a0153146930c91d0ca317d898f108
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Nov 19 14:06:29 -0800 2008 | |
| |
README.rdoc | Wed Nov 19 14:25:00 -0800 2008 | |
| |
bin/ | Wed Nov 19 14:06:29 -0800 2008 | |
| |
key_installer.gemspec | Wed Nov 19 14:26:46 -0800 2008 | |
| |
lib/ | Wed Nov 19 14:06:29 -0800 2008 |
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
