]> andersk Git - openssh.git/commitdiff
- Added "make host-key" target, Suggestion from Dominik Brettnacher
authordamien <damien>
Fri, 3 Mar 2000 11:13:52 +0000 (11:13 +0000)
committerdamien <damien>
Fri, 3 Mar 2000 11:13:52 +0000 (11:13 +0000)
 <domi@saargate.de>

ChangeLog
INSTALL
Makefile.in

index cb59d7012f0157fc62454c947a53551f18f2ea32..a0afccb2c9ef026d26b1e4fdc7d71669cb7847a0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20000303
+ - Added "make host-key" target, Suggestion from Dominik Brettnacher
+ <domi@saargate.de>
+
 20000302
  - Big cleanup of autoconf code
    - Rearranged to be a little more logical
diff --git a/INSTALL b/INSTALL
index 15ddffc17a4c3577c2b7e9900f5837fba26ff811..4c1c0f86879eaca81e641ad6c776c01eec7df66b 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -173,8 +173,8 @@ whatever you specified as your --sysconfdir (/usr/local/etc by default).
 The default configuration should be instantly usable, though you should 
 review it to ensure that it matches your security requirements.
 
-To generate a host key, issue the following command: (replacing
-/etc/ssh/ssh_host_key with an appropriate path)
+To generate a host key, run "make host-key". Alternately you can do so
+manually using the following command: 
 
 /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N ''
 
index 7be35784ed7778aa2fbe74e939f18ea8e831cfe1..b406d5f7adf3da0a5e8169605cfd2734740a32bf 100644 (file)
@@ -136,6 +136,9 @@ install: $(TARGETS)
                $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \
        fi
 
+host-key: ssh-keygen
+       ./ssh-keygen -b 1024 -f $(sysconfdir)/ssh_host_key -N ''
+
 uninstallall:  uninstall
        -rm -f $(DESTDIR)$(sysconfdir)/ssh_config
        -rm -f $(DESTDIR)$(sysconfdir)/sshd_config
This page took 0.058919 seconds and 5 git commands to generate.