.\" Files used by this utility
.SH FILES
.TP
-.I /etc/rbm/ssh-keysync-client.conf
+.I /etc/ssh-keysync/ssh-keysync-client.conf
Configuration file used by
.BR ssh-keysync
#!/bin/sh
#
-# Pull ssh host keys
+# Pull ssh host keys from server
#
+#
+#
# Maximilian Wilhelm <max@rfc2324.org>
# -- Sat, 17 Apr 2004 13:36:30 +0200
#
TMP_DIR="/tmp"
#
-CONFIG_FILE="/etc/rbm/ssh-keysync-client.conf"
+CONFIG_FILE="/etc/ssh-keysync/ssh-keysync-client.conf"
# Check some things
init()
#
-# /etc/rbm/ssh-keysync-client.conf
+# /etc/ssh-keysync/ssh-keysync-client.conf
#
# Maximilian Wilhelm <max@rfc2324.org>
# -- Fri, 30 Sep 2005 16:52:05 +0200
.B ssh-keysync-merge
is a tool to merge the ssh public keys of your hosts to one ssh_known_hosts
file to be distributed to your clients as
-.IR /etc/rbm/ssh_known_hosts .
+.IR /etc/ssh-keysync/ssh_known_hosts .
This mechanism can protect you / your users from connecting to a
compromised host, because
.BR ssh
will print out a warning if the public key of the host, you're connecting
to and the saved copy in
-.IR /etc/rbm/ssh_known_hosts
+.IR /etc/ssh-keysync/ssh_known_hosts
don't match.
If you're running an automated installation system like Thomas Langes
By default,
.B ssh-keysync-merge
uses
-.B /etc/rbm/ssh-keysync-server.conf
+.B /etc/ssh-keysync/ssh-keysync-server.conf
.TP
.B \-d, \-debug
.\" FILES: Files used by this utility #{{{
.SH FILES
.TP
-.I /etc/rbm/ssh-keysync-server.conf
+.I /etc/ssh-keysync/ssh-keysync-server.conf
Configuration file used by ssh-keysync-merge
.TP
.\" FILES: Files used by this utility #{{{
.SH FILES
.TP
-.I /etc/rbm/ssh-keysync-server.conf
+.I /etc/ssh-keysync/ssh-keysync-server.conf
Configuration file upgraded by
.BR upgrade_sshkeysync
#
# This script will create an configuration entry for the new domain
# and a doamin directory under /var/cache/ssh-keysync or a different
-# bsae_dir defined in /etc/rbm/ssh-keysync-server.conf
+# bsae_dir defined in /etc/ssh-keysync/ssh-keysync-server.conf
#
#
# Maximlian Wilhelm <max@rfc2324.org>
# Some varialbes # {{{
#
# Configuration file
-CONFIGFILE="/etc/rbm/ssh-keysync-server.conf"
+CONFIGFILE="/etc/ssh-keysync/ssh-keysync-server.conf"
# Default base_dir
DEF_BASE_DIR="/var/cache/ssh-keysync"
#
# ssh-keysync-merge
#
-# Wrapper script to call RBM::sshKeySync::Merge - a library from the
-# RBM perl library - for merging ssh public keys to a ssh_known_hosts
-# file.
+# Wrapper script to call ShKeySync::Merge for merging ssh public keys
+# to a ssh_known_hosts file.
#
#
use strict;
use Getopt::Long;
-use RBM::sshKeySync::Merge;
+use SshKeySync::Merge;
##
# Check for command line parameteres
-my $config = "/etc/rbm/ssh-keysync-server.conf";
+my $config = "/etc/sh-keysync/ssh-keysync-server.conf";
my $debug = 0;
my $quiet = 0;
##
# Run real ssh-keysync-merge
-my $merger = RBM::sshKeySync::Merge->new( quiet => $quiet, debug => $debug, configfile => $config );
+my $merger = SshKeySync::Merge->new( quiet => $quiet, debug => $debug, configfile => $config );
+
$merger->merge_all_domains();
$merger->publish_known_hosts();
#
-# /etc/rbm/ssh-keysync-server.ini
+# /etc/ssh-keysync/ssh-keysync-server.ini
#
##
user = skeysync
##
-# The domains managed by RBM::sshKeySync
+# The domains managed by SshKeySync
#
# [dom.ain.name]
# alt_domains = alt.rnateiv.dom.ain.name, another.dom.ain.name
#
# upgrade_sshkeysync
-CONFIGFILE="/etc/rbm/ssh-keysync-server.conf"
+CONFIGFILE="/etc/ssh-keysync/ssh-keysync-server.conf"
CONFIG_OLD="${CONFIGFILE}.oldsave"
##
echo -n "Writing new config... "
cat << EOF | sed -e "${EXPR_USER}" -e "${EXPR_BASEDIR}" > "${CONFIGFILE}" && echo "done." || echo "Failed!"
#
-# /etc/rbm/ssh-keysync-server.conf
+# /etc/ssh-keysync/ssh-keysync-server.conf
+
#
##
user="skeysync"
##
-# The domains managed by RBM::sshKeySync::Merge
+# The domains managed by SshKeySync::Merge
#
# [dom.ain.name]
# alt_domains = alt.rnateiv.dom.ain.name, another.dom.ain.name