Enable SSH in FreeBSD

This entry was posted by on Thursday, 18 August, 2011 at

18/8/2011

Many of you may be thinking what is the fastest way to enable the ssh daemon when you actually forget to enable them.

Well normally I believe many people will do by editing the rc.conf and add the sshd_enable commands and then reboot the server.

Actually, I used to do that icon smile Enable SSH in FreeBSD

However today I do learn something new and want to share this tips to all of you.

How to enable SSH in FBSD?
Solution: /etc/rc.d/sshd onestart

That’s all simple and fast right ? Hehe . . . but please take note that once you restart the server, the SSHD will not be started if you did not declare in rc.conf to enable it when start up.

In case you forget the exact syntax on how to enable SSH in FreeBSD,
Use this in your rc.conf file:

sshd_enable=”YES”

That’s all for now, all the best and hope you can refer to this blog in case you forget how to do so icon smile Enable SSH in FreeBSD

No related posts.


Leave a Reply



Spam Protection by WP-SpamFree