Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2017 02:43:59 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Ernie Luzar <luzar722@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to allow user toor login through ssh
Message-ID:  <20170102024359.aa82ae3e.freebsd@edvax.de>
In-Reply-To: <5869ADFB.6080000@gmail.com>
References:  <5869ADFB.6080000@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 02 Jan 2017 09:33:47 +0800, Ernie Luzar wrote:
> how to allow user toor login through ssh?

It should be sufficient to _enable_ the "toor" user by providing
him a login shell (use "chsh toor") and a password (use "passwd
toor"). An additional setting for sshd is not needed because
toor is treated as a regular user (not "root" which per default
cannot connect directly per SSH). If possible, check a local
login first to make sure everything works as intended. You
should then be able to connect via "ssh toor@foo.example.com".


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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