Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2015 12:46:04 -0400
From:      seklecki seklecki <bseklecki@probikesllc.com>
To:        jd1008 <jd1008@gmail.com>, <freebsd-questions@freebsd.org>
Subject:   Re: Can't login as a root via SSH!
Message-ID:  <D15018EF.37F6%bseklecki@probikesllc.com>
In-Reply-To: <54CEF12D.9080605@gmail.com>
References:  <1422845600355-5985396.post@n5.nabble.com> <54CEE8CF.606@gmail.com> <1422846540252-5985400.post@n5.nabble.com> <54CEEB66.7090306@gmail.com> <1422847311740-5985404.post@n5.nabble.com> <54CEF12D.9080605@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The proper file is /etc/ssh/sshd_config

The only OpenSSH distribution that allows PermitRootLogin=yes after
install is OpenBSD's native one.  Almost all other portable versions have
packaged it so that it is off.

You are assumed to make a wheel group user for 1st login, or have remote
hypervisor/serial/remote ILOM console access from your WS to your new, in
any other modern datacenter environment.

~BAS


On 2/1/15 11:38 PM, "jd1008" <jd1008@gmail.com> wrote:

>
>On 02/01/2015 08:21 PM, williamyun7 wrote:
>> which file should i look up?
>>
>> this is /etc/defaults/rc.conf
>>
>> i can't find any with root login via ssh from here.
>>
>> will@FreeBSD-SVR1:~ % cat /etc/defaults/rc.conf
>> #!/bin/sh
>>
>> # This is rc.conf - a file full of useful variables that you can set
>> # to change the default startup behavior of your system.  You should
>> # not edit this file!  Put any overrides into one of the
>>${rc_conf_files}
>> # instead and you will be able to u\





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D15018EF.37F6%bseklecki>