Date: Tue, 3 Jan 2017 19:15:54 +0800 From: Ben Woods <woodsb02@gmail.com> To: Polytropon <freebsd@edvax.de> Cc: Ernie Luzar <luzar722@gmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: how to allow user toor login through ssh Message-ID: <CAOc73CCc_Yj_qAw2riDft=KdeNoKmHgOQOkeTLdse2pom_35FQ@mail.gmail.com> In-Reply-To: <20170102172615.516dc912.freebsd@edvax.de> References: <5869ADFB.6080000@gmail.com> <20170102024359.aa82ae3e.freebsd@edvax.de> <5869F77D.5050106@gmail.com> <20170102172615.516dc912.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3 January 2017 at 00:26, Polytropon <freebsd@edvax.de> wrote: > On Mon, 02 Jan 2017 14:47:25 +0800, Ernie Luzar wrote: > > Using putty from remote location I connect to the host ok, but toor > > login fails with denied message. For user name I use toor ie; no > > @domain. Remote putty ssh does work using other account names only. > > Check your PuTTY configuration, as well as the exact message > from sshd (and also take a look at /var/log/auth.log). It might > be possible that PuTTY somehow mangles the "user" part of the > commonly used "user@host" information. Make sure everything > works as intended at both sides of the connection. > The openssh daemon prevents login as root or toor (any user with UID 0) in the default configuration that ships with FreeBSD. This can be adjusted by setting the following in /etc/ssh/sshd_config: PermitRootLogin yes Note however, that it is not generally advisable to allow root or toor login via ssh, as this is a frequently attempted username for script kiddies and bots running random brute force attacks. Tread wisely. Regards, Ben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CCc_Yj_qAw2riDft=KdeNoKmHgOQOkeTLdse2pom_35FQ>