Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2004 10:25:06 +0800
From:      Robert Storey <y2kbug@ms25.hinet.net>
To:        freebsd-questions@freebsd.org
Subject:   restricting ssh to authorized users
Message-ID:  <20040420102506.120a0298.y2kbug@ms25.hinet.net>

next in thread | raw e-mail | index | archive | help
I've been wondering what is the best way to prevent certain users from
being able to login with ssh, even though I want to allow them ftp access?

The opposite is easy to accomplish - if I put somebody's name in file
/etc/ftpusers, that person cannot login with ftp, but they could still
login with ssh. But I don't see a file /etc/sshusers, and I'm wondering if
there is some equivalent.

TIA,
Robert




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