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: (5) </ [1] 2 3 4 5 >/

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

reply to topic new topic new poll
Topic: preserve ssh cert and user base across boots?, how do I ?< Next Oldest | Next Newest >
bjhbjh Offline





Group: Members
Posts: 21
Joined: Jan. 2008
Posted: June 23 2008,01:38 QUOTE

Hi,

I am booting from the cd with no hd installed and a thumb drive as my repository for settings etc. My files and IP settings are saved across reboots but my SSH certificate and my ssh user's and passwords go missing when I reboot.

How can I preserve these for use after a reboot?


Thanks,

Brian H.
Uxbridge Ont.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: June 23 2008,02:41 QUOTE

Save the keys from /etc/ssh and user/passwords from /etc/shadow and /etc/passwd then start the daemon from bootlocal.sh (add '/etc/init.d/ssh start') iirc
or if not, there's a forum search :)
Back to top
Profile PM 
bjhbjh Offline





Group: Members
Posts: 21
Joined: Jan. 2008
Posted: June 23 2008,14:51 QUOTE

Thanks, that all works great !

Is there a way to suppress the CD eject at a reboot ?

Brian H.
Uxbridge Ont
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 23 2008,15:37 QUOTE

The cheatcode "noeject" :)

--------------
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 
bjhbjh Offline





Group: Members
Posts: 21
Joined: Jan. 2008
Posted: June 23 2008,18:21 QUOTE

Quote
The cheatcode "noeject"


How do I invoke that at a reboot?

How do I invoke that at an ssh session reboot?

Or was this a joke ? I don't see 'noeject' in the DSL Wiki list of cheat  codes.

I need something that will persist across reboots so I don't have to  remember to do it if I reboot remotely a year from now.

Thanks,

Brian H.
Back to top
Profile PM 
20 replies since June 23 2008,01:38 < Next Oldest | Next Newest >

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

Pages: (5) </ [1] 2 3 4 5 >/
reply to topic new topic new poll
Quick Reply: preserve ssh cert and user base across boots?

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