Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2013 06:24:36 -0500
From:      Jerry <jerry@seibercom.net>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: SSH on FreeBSD
Message-ID:  <20130115062436.5c2a9268@scorpio>
In-Reply-To: <50F534D4.20104@freebsd.org>
References:  <sbmp-dontrebrand-1Tv3TH-0001qu-44-mannase@cipherwave.co.za> <64344677AECE934682A4243703F508681E09737D@CW-EXCH01.cipherwave.local> <50F534D4.20104@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Jan 2013 10:52:04 +0000
Matthew Seaman articulated:

> On 15/01/2013 10:10, Mannase Nyathi wrote:
> > I have just configured FreeBSD on my server. I would like to find
> > out how can I be able to login to it via ssh?
> 
> Start by editing /etc/rc.conf and add the line:
> 
> sshd_enable="YES"
> 
> (anywhere in the file -- order doesn't matter)
> 
> Then as root:
> 
>    /etc/rc.d/sshd start
> 
> It should generate some host keys and then start the sshd daemon.
> 
> That's all.  sshd will restart automatically after any reboots.  You
> should be able to log into any ordinary user account remotely using
> the account username and password.
> 
> Note: if your system is exposed to the internet, it will be attacked
> by bots attempting to brute-force SSH username and passwords.  Make
> sure you have good passwords on all user accounts -- see the archives
> of this list for many, many discussions of further steps you can take
> to prevent this activity filling up your logfiles...

You might want to consider using certificates rather than 'usernames'
'passwords' for logging in. Your system will be far more secure. As
Matthew stated, you can check the archives. If needed, start a new
thread and ask for assistance on the subject here.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130115062436.5c2a9268>