DSL Embedded :: starting ssh upon boot



Getting rid of the ssh cheat code and putting etc/ssh/*key* into .filetool.lst and doing
Code Sample
/etc/init.d/ssh start
in /opt/bootlocal.sh  seems to have fixed the problem.

Thanks, again!

Quote (Guest @ June 21 2007,16:47)
Getting rid of the ssh cheat code and putting etc/ssh/*key* into .filetool.lst and doing
Code Sample
/etc/init.d/ssh start
in /opt/bootlocal.sh  seems to have fixed the problem.

Thanks, again!

Starting ssh would generate a new key, so I don't see why saving the key in /etc/ssh would help.  I found that /root/.ssh had to be deleted on the local computer so that the new key could be rewritten from the remote.
If you save the key, then it won't generate a new one.
..it did when I tried it.

Edit:  ...oh,  placing /etc/ssh/*key* in .filetool.lst doesn't save the files.

Edit2  What works is to copy the *key* files to another folder (e.g., ~HOME/ssh_keys) and then put a copy command into /opt/bootlocal prior to "ssh start"  (e.g., cp /home/dsl/ssh_keys/*key*  /etc/ssh/)

Thanks Hats...


original here.