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.wiki: cheatcodes
note that you will not be able to log in (by default) unless you have passwords set
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!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?Are you using backup/restore?Next Page...
original here.