Fail to start the openssh-server in live-config 2.0.12 - Too many arguments
Hi,
I got an error "Too many arguments" when 119-openssh-server is run. I
believe there is one more argument need to be added when ssh-keygen is run.
The following is the patch. My 2 cents.
===========================================
--- a/scripts/config/119-openssh-server
+++ a/scripts/config/119-openssh-server
@@ -26,14 +26,14 @@
{
if [ ! -e /etc/ssh/ssh_host_rsa_key ]
then
- ssh-keygen -q -f /etc/ssh/ssh_host_rsa_key -N -t rsa
+ ssh-keygen -q -f /etc/ssh/ssh_host_rsa_key -N "" -t rsa
_SSH="true"
fi
if [ ! -e /etc/ssh/ssh_host_dsa_key ]
then
- ssh-keygen -q -f /etc/ssh/ssh_host_dsa_key -N -t dsa
+ ssh-keygen -q -f /etc/ssh/ssh_host_dsa_key -N "" -t dsa
_SSH="true"
fi
--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A
Reply to: