Revision: 7359
          http://sourceforge.net/p/ipcop/svn/7359
Author:   owes
Date:     2014-03-22 13:37:14 +0000 (Sat, 22 Mar 2014)
Log Message:
-----------
Create the new key before restarting sshd.

Modified Paths:
--------------
    ipcop/trunk/updates/2.1.3/setup

Modified: ipcop/trunk/updates/2.1.3/setup
===================================================================
--- ipcop/trunk/updates/2.1.3/setup     2014-03-22 13:36:20 UTC (rev 7358)
+++ ipcop/trunk/updates/2.1.3/setup     2014-03-22 13:37:14 UTC (rev 7359)
@@ -155,6 +155,10 @@
 # Cannot unpack to symlinked /var/log on FLASH installation, so copy here
 cp /var/ipcop/traffic/empty-ulogd.db /var/log/traffic/ulogd.db
 
+# Create EdDSSA key before starting new sshd
+if [ ! -e /etc/ssh/ssh_host_ed25519_key ]; then
+    /usr/bin/ssh-keygen -q -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ""
+fi
 # Use new sshd
 /usr/local/bin/restartssh
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to