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

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

reply to topic new topic new poll
Topic: starting ssh upon boot, how can I start sshd upon QEMU boot?< Next Oldest | Next Newest >
Guest
Unregistered






Posted: June 15 2007,22:10 QUOTE

Yes, I am using backup/restore.

But, I'm not currently backing up (via .filetool.lst) /etc/ssh/*key .  Should I?  I would've thought that would not work because the ssh service is started before the files are restored.  Or, am I confused?
Back to top
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: June 16 2007,15:28 QUOTE

Does adding

/etc/init.d/ssh start

to /opt/bootlocal.sh

help.

This will run as root and occurs after the backup is restored.
Back to top
Profile PM WEB 
Guest
Unregistered






Posted: June 19 2007,20:00 QUOTE

[I thought I replied to this, but I cannot find my response.]

I tried adding
Quote
etc/ssh/ssh_host_key
etc/ssh/ssh_host_key.pub
etc.
to .filetool.lst and then adding
Code Sample
/etc/init.d/ssh restart
to /opt/bootlocal.sh, but these changes did not help.

I guess I'll have to live with it.
Back to top
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: June 19 2007,21:18 QUOTE

start <> restart

Why start it in the first place? When you can start it in bootlocal.sh

If you start it at boot and then want to re-read the configurations then look at

reload or perhaps force-reload

Look at the script options in /etc/init.d/ssh
Back to top
Profile PM WEB 
Guest
Unregistered






Posted: June 19 2007,21:20 QUOTE

Quote (roberts @ June 19 2007,17:18)
start <> restart

Why start it in the first place? When you can start it in bootlocal.sh


Oh, I see.  You mean, I shouldn't use the cheatcode?
Back to top
13 replies since June 12 2007,23:42 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: starting ssh upon boot

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