[Stupid newbie] How to start sshd ?

Alexandre Bos bos at alexandre-bos.fr
Thu Sep 6 19:04:21 PDT 2007


Joseph Garcia wrote:
Peter Avalos wrote:
On Fri, Sep 07, 2007 at 03:09:10AM +0200, Alexandre Bos wrote:

Hello,

I am new to BSD. I just installed dragonfly BSD on a machine. Before 
I start to read the doc, I need to bring a ssh access to this machine 
(unless my kvm will die of so much switches...). I tried :
/etc/rc.d/sshd start
but it just does nothing.

Could you please give me hint ?



Add sshd_enable=YES to /etc/rc.conf.  Having a look at 
/etc/defaults/rc.conf
and the rc.conf manual page may be advisable.

--Peter
In addition, one could start a service by using the 'forcestart' command 
when the rc variable isn't present or set to "no" in /etc/rc.conf such as:

/etc/rc.d/sshd forcestart

I felt that it's something good to know, but Pete's advice would be the 
best way to go.

Joey
Thank you both.

--
Alexandre




More information about the Users mailing list