Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Saving rsa key< Next Oldest | Next Newest >
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Sep. 21 2007,13:34 QUOTE

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 :D )

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?
Back to top
Profile PM 
bigjohn Offline





Group: Members
Posts: 2
Joined: Sep. 2007
Posted: Sep. 26 2007,13:56 QUOTE

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?
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Sep. 26 2007,15:39 QUOTE

Did you try copying the keys to $HOME? Then you could copy them back into /etc.
Back to top
Profile PM 
bigjohn Offline





Group: Members
Posts: 2
Joined: Sep. 2007
Posted: Sep. 26 2007,19:07 QUOTE

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!
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Sep. 26 2007,19:37 QUOTE

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 :)


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
6 replies since Sep. 21 2007,13:34 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Saving rsa key

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code