diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | INSTALL | 4 | ||||
-rw-r--r-- | Makefile.in | 3 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20000303 | ||
2 | - Added "make host-key" target, Suggestion from Dominik Brettnacher | ||
3 | <domi@saargate.de> | ||
4 | |||
1 | 20000302 | 5 | 20000302 |
2 | - Big cleanup of autoconf code | 6 | - Big cleanup of autoconf code |
3 | - Rearranged to be a little more logical | 7 | - Rearranged to be a little more logical |
@@ -173,8 +173,8 @@ whatever you specified as your --sysconfdir (/usr/local/etc by default). | |||
173 | The default configuration should be instantly usable, though you should | 173 | The default configuration should be instantly usable, though you should |
174 | review it to ensure that it matches your security requirements. | 174 | review it to ensure that it matches your security requirements. |
175 | 175 | ||
176 | To generate a host key, issue the following command: (replacing | 176 | To generate a host key, run "make host-key". Alternately you can do so |
177 | /etc/ssh/ssh_host_key with an appropriate path) | 177 | manually using the following command: |
178 | 178 | ||
179 | /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' | 179 | /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' |
180 | 180 | ||
diff --git a/Makefile.in b/Makefile.in index 7be35784e..b406d5f7a 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -136,6 +136,9 @@ install: $(TARGETS) | |||
136 | $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \ | 136 | $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \ |
137 | fi | 137 | fi |
138 | 138 | ||
139 | host-key: ssh-keygen | ||
140 | ./ssh-keygen -b 1024 -f $(sysconfdir)/ssh_host_key -N '' | ||
141 | |||
139 | uninstallall: uninstall | 142 | uninstallall: uninstall |
140 | -rm -f $(DESTDIR)$(sysconfdir)/ssh_config | 143 | -rm -f $(DESTDIR)$(sysconfdir)/ssh_config |
141 | -rm -f $(DESTDIR)$(sysconfdir)/sshd_config | 144 | -rm -f $(DESTDIR)$(sysconfdir)/sshd_config |