From: Eric S. Raymond Date: Tue, 30 Dec 2003 00:05:19 +0000 (+0000) Subject: Initial revision X-Git-Tag: 1-1~2 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=62e87f33f990cc05ed606fd827766d8262c41cd2;p=ssh-installkeys.git Initial revision --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b43dbe4 --- /dev/null +++ b/Makefile @@ -0,0 +1,32 @@ +# Makefile for the ssh-installkeys project + +# Don't forget to change the spec file when you bump the version number. +VERS=$(shell sed $(MANDIR)/ssh-installkeys.1.gz + +ssh-installkeys.1: ssh-installkeys.xml + xmlto man ssh-installkeys.xml + +ssh-installkeys.html: ssh-installkeys.xml + xmlto html-nochunks ssh-installkeys.xml + +ssh-installkeys-$(VERS).tar.gz: $(SOURCES) ssh-installkeys.1 + mkdir ssh-installkeys-$(VERS) + cp $(SOURCES) ssh-installkeys.1 ssh-installkeys-$(VERS) + tar -czf ssh-installkeys-$(VERS).tar.gz ssh-installkeys-$(VERS) + rm -fr ssh-installkeys-$(VERS) + ls -l ssh-installkeys-$(VERS).tar.gz + +dist: ssh-installkeys-$(VERS).tar.gz ssh-installkeys.html + ln -sf ssh-installkeys-$(VERS).tar.gz ssh-installkeys.tar.gz diff --git a/ssh-installkeys.xml b/ssh-installkeys.xml new file mode 100644 index 0000000..7c0446a --- /dev/null +++ b/ssh-installkeys.xml @@ -0,0 +1,77 @@ + + + +ssh-installkeys +1 + + + ssh-installkeys +install ssh keys on local and remote servers + + + + + ssh-installkeys + -h + -c + -d + -v + name@host + + + + +Description + +This script tries to export ssh public keys to a specified site. +It will walk the user through generating key pairs if it doesn't find +any to export. It handles all the fiddly details, like remembering +the ssh keyfile names and making sure local and remote permissions are +correct. It tells you what it's doing if it has to change +anything. + +The name@host argument is the name of the host where your +public keys should be installed. If it contains a @, the part before +the @ will be clipped off and used as the login name. Otherwise your +local login name will be used. + +Invoked with the option, the program prints +a usage summary and exits. + +Invoked with the option, the program checks +your local and remote ssh configuration for problems without changing +anything. + +Invoked with the option, the program deletes +any public keys under the specified login at the specified host. + +The option says to report all commands and +responses during the session. It's mainly useful for debugging. + + +Requirements +ssh-installkeys was written in Python 2.2a1. It +will not work under Python 1.5.2. + + +See Also +ssh1, +ssh-keygen1. + + +Author +Eric S. Raymond esr@thyrsus.com. + +There is a project web page at +http://www.catb.org/~esr/ssh-installkeys/. + + + +