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 12 2007,23:42 QUOTE

I use QEMU-on-a-stick.  What is the canonical/preferred way of getting ssh (sshd) to start upon boot?  I'd like to avoid having to do "sudo /etc/init.d/ssh start" or using the menu item to start it.

Thanks.
Back to top
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: June 13 2007,00:07 QUOTE

wiki: cheatcodes

note that you will not be able to log in (by default) unless you have passwords set
Back to top
Profile PM 
Guest
Unregistered






Posted: June 13 2007,00:29 QUOTE

Quote (^thehatsrule^ @ June 12 2007,20:07)
wiki: cheatcodes
Thanks.

For those following at home, the fix was to add ssh to the append section in the dsl-vhd.bat script.

Quote
note that you will not be able to log in (by default) unless you have passwords set
Yes.  Or, as I have it set-up, I use .ssh/authorized_keys and I don't need a password.

So, using the -redir flag ("-redir tcp:22222::22") for qemu, I am now able to log into my "stick".  This is great!
Back to top
Guest
Unregistered






Posted: June 13 2007,22:53 QUOTE

I noticed that the ssh host key seems to change each time.

Is there any way to persist/retain the same ssh host key between boots?
Back to top
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: June 13 2007,23:00 QUOTE

Are you using backup/restore?
Back to top
Profile PM 
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