csexton / ssh-keyput
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (4)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Jan 22 12:46:41 -0800 2009 | |
| |
LICENSE | Sat Jan 24 06:22:51 -0800 2009 | |
| |
README.markdown | Sat Jan 24 06:22:51 -0800 2009 | |
| |
Rakefile | Fri Jun 26 16:41:41 -0700 2009 | |
| |
VERSION.yml | Mon Feb 09 05:44:42 -0800 2009 | |
| |
bin/ | Mon Feb 09 05:44:49 -0800 2009 | |
| |
lib/ | Mon Feb 09 05:44:42 -0800 2009 | |
| |
ssh-keyput.gemspec | Fri Jun 26 16:41:41 -0700 2009 | |
| |
test/ | Thu Jan 22 12:46:41 -0800 2009 |
ssh-keyput
Copies your ssh public key to a server.
Because ssh user@hostname "echo cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys" is too hard to remember.
Since OS X does not have the handy "ssh-copy-id" bash script by default I wanted to add a gem that I could install easily to perform the same task.
Currently this is no more than a sh script, as it depends on a number of unix commands (like ssh and ssh-keygen). I am sure that much of this could be replace by pure ruby libraries (and then be made dependencies) but this does what I need it to and I don't have to remember complicated commands.
It is pronounced "ssssh-kaput."
INSTALL
sudo gem install csexton-ssh-keyput -s http://gems.github.com
USAGE
ssh-keyput user@example.com
COPYRIGHT
Copyright (c) 2008 Christopher Sexton. See LICENSE for details.
