csexton / ssh-keyput

ssh key put utility

This URL has Read+Write access

name age message
file .gitignore Thu Jan 22 12:46:41 -0800 2009 Initial commit to ssh-keyput. [csexton]
file LICENSE Sat Jan 24 06:22:51 -0800 2009 Updated license and readme. [csexton]
file README.markdown Sat Jan 24 06:22:51 -0800 2009 Updated license and readme. [csexton]
file Rakefile Fri Jun 26 16:41:41 -0700 2009 I guess some versions of ruby string don't have... [csexton]
file VERSION.yml Mon Feb 09 05:44:42 -0800 2009 Version bump to 0.4.0 [csexton]
directory bin/ Mon Feb 09 05:44:49 -0800 2009 Added DSA support. [csexton]
directory lib/ Mon Feb 09 05:44:42 -0800 2009 Version bump to 0.4.0 [csexton]
file ssh-keyput.gemspec Fri Jun 26 16:41:41 -0700 2009 I guess some versions of ruby string don't have... [csexton]
directory test/ Thu Jan 22 12:46:41 -0800 2009 Initial commit to ssh-keyput. [csexton]
README.markdown

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.