Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2011 10:29:38 -0700
From:      Kurt Buff <>
Subject:   Re: Remote access to Freebsd server
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, Apr 13, 2011 at 09:40, Matthew Seaman
<> wrote:
> On 13/04/2011 16:37, afiddler10 wrote:

<snip problem description and sage advice>

> Edit the file /etc/rc.conf and add the line:
> sshd_enable=3D"YES"
> Then run this command as root:
> # /etc/rc.d/sshd start
> (you only need to do that as a one-off -- adding the line to rc.conf
> means the daemon will be started automatically on reboot from now on)
> Then you can use a SSH client from windows to remote login to your
> FreeBSD box. =C2=A0If you need a client, try putty from
> Nb. by default, you won't be able to SSH in as root -- so set yourself
> up a normal user account, add it to the wheel group and then use su(1)
> once you've logged in. =C2=A0As ever, the Handbook is your friend for
> instructions on how to do this sort of stuff.

In the interest of preventing newb pain:

     Please note that the entry for /etc/rc.conf  must be exact.

In particular, *do not* miss either of the quote marks, or your
machine will hang at next boot, and force you to boot into single user
mode to recover from it by adding the missing quote mark and booting
again. This is not the end of the world, but until you figure it out,
it can induce feelings of fear, nausea, helplessness and acute

However, about the third time you've done it, and recovered from it by
your own efforts, it's no longer a big thing.


Want to link to this message? Use this URL: <>