From owner-freebsd-questions@FreeBSD.ORG Tue Jan 15 11:24:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E8F32F3D for ; Tue, 15 Jan 2013 11:24:45 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by mx1.freebsd.org (Postfix) with ESMTP id 81339E43 for ; Tue, 15 Jan 2013 11:24:45 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id c4so790091ggn.25 for ; Tue, 15 Jan 2013 03:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=x-received:date:from:to:subject:message-id:in-reply-to:references :reply-to:organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=Dsz9DPIKhmyqks+bJQgx+d4ZCB/kG/amgAOGu3KNJv0=; b=QKOe9El7SYo5yJJ4jOVovPXlAhss1dPR4ZMwo2teDfmhLeBUH3Hwrk5rNabpC64EhT tzj2F4GHZpi3NavsIEQo5oiWWnWwiohqvZGGL6n32XjJ9YMrGmXkvwapmfv1p+6a4TAg f1yDZRMg/1nnyoHSd3xl0yZMOr1kdLdRjfUtc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :reply-to:organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=Dsz9DPIKhmyqks+bJQgx+d4ZCB/kG/amgAOGu3KNJv0=; b=iiSFWus2cv0xTjhNPCuGG18Ldac04Ugq8A1h0OwnmVxPUjxx6RIfWt/+3LC2A2XJ2K /GP5cOPiZnbrvGbWdiGJShMlkB2gxJooRefi95WCLajEh9Z44nrIcDjN4+dB4hlUSGmK NpQ/Avo+5r1PPNWkxJqxT0fNYAUPs+0ZaSuUkWMEUe/qWCL3yA6zn/baE6GjPowvNTo4 g1GQ21Fyt95M1FMsGfxQGiSFfanE1BT65H3hcGARFGhr5s/tK0ya6gWs2fq1V3j9eRCY V0ytNdAJyOtrCmRktsfMbdl2bV+1Y6oUbEWST2p0Pvjz6zxFZWUigVgvP5dk7IyKtEXo iVYQ== X-Received: by 10.236.124.42 with SMTP id w30mr98614922yhh.22.1358249079016; Tue, 15 Jan 2013 03:24:39 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id t14sm13683757anl.17.2013.01.15.03.24.38 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jan 2013 03:24:38 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3Ylq2Y1jsLz2CG57 for ; Tue, 15 Jan 2013 06:24:37 -0500 (EST) Date: Tue, 15 Jan 2013 06:24:36 -0500 From: Jerry To: FreeBSD Subject: Re: SSH on FreeBSD Message-ID: <20130115062436.5c2a9268@scorpio> In-Reply-To: <50F534D4.20104@freebsd.org> References: <64344677AECE934682A4243703F508681E09737D@CW-EXCH01.cipherwave.local> <50F534D4.20104@freebsd.org> Organization: seibercom.net X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmOlZ+9q1p1gp9QwDNG1b0QBt7nElrQYTqzquI2Zby+0GyMT/dnJt/Q8Mx2ddKmDJYGf7Ua X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 11:24:46 -0000 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. __________________________________________________________________