some different problem here DSL generate rsa key everytime u restart network service (i use netcardconfig but i know i can also start a script into /etc/init.d )
now, i need DSL to keep same rsa keys (so i can avoid annoying problem to remove row in .ssh/know_hosts before re-entering by ssh everytime i reboot the machine )
i tried to backup the directory where rsa key are saved, but this does not work: after reboot, it generate a completely different rsa key
so, how (if possible) can i save the rsa key?I have also searched the forums, and found no solution that works. frugal install to a flash hda1 HP 5515 thin client no GUI - command line only backed up Most annoying at every reboot a new set of keys generated. How does one stop this? I think I have tried every trick mentioned in the forum archives, but no joy. DSL 2.4.26 - Current?Did you try copying the keys to $HOME? Then you could copy them back into /etc.
Quote (jpeters @ Sep. 26 2007,11:39)
Did you try copying the keys to $HOME? Then you could copy them back into /etc.
Keep it simple, please. Linux novice here and even more so Debian There is no $HOME directory there is a /home/dsl and a /ramdisk/home/dsl
Are you saying I should copy *key* from /etc/ssh to /home? Or to /home/dsl?
Then copy back on startup to /etc/ssh before starting ssh in bootlocal.sh?
And, in plain English, what is the difference between ssh and sshd?
Thanks
Sorry to be so thick about this, but from the original message I am not alone!sshd is the server, which you run on the machine you wish to log on to remotely ssh is the client you use when you want to log on to some other machine remotely Next Page...
original here.