FFP 0.7 hangs on SSHd, [solved]

Oxnas 810 based
Post Reply
elgaard
Posts: 3
Joined: Sat Aug 31, 2013 1:34 pm

FFP 0.7 hangs on SSHd, [solved]

Post by elgaard » Sat Aug 31, 2013 2:13 pm

The log file said:
* /ffp/start/sshd.sh ...
Generating public/private ecdsa key pair.
/ffp/etc/ssh/ssh_host_ecdsa_key already exists.
Overwrite (y/n)?
And then it was hanging, waiting for input.

The code in /ffp/start/sshd.sh was:

Code: Select all

if [ ! -f /etc/ssh/ssh_host_ecdsa_key ]; then
    /ffp/bin/ssh-keygen -t ecdsa -f /ffp/etc/ssh/ssh_host_ecdsa_key -N ''
fi
This should be:

Code: Select all

if [ ! -f /ffp/etc/ssh/ssh_host_ecdsa_key ]; then
    /ffp/bin/ssh-keygen -t ecdsa -f /ffp/etc/ssh/ssh_host_ecdsa_key -N ''
fi


Post Reply