You are not logged in.

#1 2009-02-05 17:01:47

szitnik
Member
Registered: 2009-02-05
Posts: 2

runn sshd at boot

Hi!

I have a computer as server in the garage. I would like to boot linux live cd on that computer an connect remotely from other computer in my home network over  shh and install linux. Is that possible?

Linux should turn on network card and get ip with dhcp and start sshd.

Thanks,
Slavko

Offline

#2 2009-02-05 18:04:44

samuraitux
Member
From: Cashville
Registered: 2009-02-04
Posts: 9
Website

Re: runn sshd at boot

yep. you just need to start the sshd which can be found in /usr/sbin/sshd this should start it for you and generate all information.


<include stdio.h>
<include beer.h>
if (beer != 0) {  KeepDrinking(); }else { MoreBeer("18pack"); }

Offline

#3 2009-02-05 20:33:11

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: runn sshd at boot

Simply adding the sshd (which is a daemon) to the DAEMON array in rc.conf will do it for you.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2009-02-05 20:34:55

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: runn sshd at boot

I believe what he is looking for is a live cd that runs sshd by default that is set up to listen on any address so that he can simply put the cd in the drive and boot up, then go back in the house and do the rest from there.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#5 2009-02-05 20:51:41

szitnik
Member
Registered: 2009-02-05
Posts: 2

Re: runn sshd at boot

Yes rson451, that is exactly what I want.

I already tried to burn DSL live linux in such way but I did not succeed.

Offline

#6 2009-02-05 21:13:03

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: runn sshd at boot

szitnik wrote:

Yes rson451, that is exactly what I want.

I already tried to burn DSL live linux in such way but I did not succeed.

You can do that on any live CD -- as long as you have a working internet connection. So yes, you will have to configure the internet at least on that machine. After that, simply install openssh and start it up. But I don't know if any of the live CDs have ssh pre-configured.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2009-02-05 22:14:38

samuraitux
Member
From: Cashville
Registered: 2009-02-04
Posts: 9
Website

Re: runn sshd at boot

gentoo does. on there minimal install cd I would start ssh and install from my main desktop machine. through putty  or if i was booted into my linux desktop I would just ssh to machines ip. mostly just had to do /etc/init.d/sshd start. No downloading or installing of ssh.

Last edited by samuraitux (2009-02-05 22:17:51)


<include stdio.h>
<include beer.h>
if (beer != 0) {  KeepDrinking(); }else { MoreBeer("18pack"); }

Offline

Board footer

Powered by FluxBB