From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 15:13:27 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D2CE16A4DC for ; Fri, 25 Jun 2004 15:13:27 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.252]) by mx1.FreeBSD.org (Postfix) with SMTP id 2F7B643D46 for ; Fri, 25 Jun 2004 15:13:27 +0000 (GMT) (envelope-from hemalpandya@gmail.com) Received: by mproxy.gmail.com with SMTP id w29so5977579cwb for ; Fri, 25 Jun 2004 08:13:26 -0700 (PDT) Received: by 10.38.104.64 with SMTP id b64mr43600rnc; Fri, 25 Jun 2004 08:13:26 -0700 (PDT) Message-ID: <50be591b0406250813778dcc53@mail.gmail.com> Date: Fri, 25 Jun 2004 08:13:26 -0700 From: Hemal Pandya To: Rob In-Reply-To: <40DBCA04.30203@users.sourceforge.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <40DBCA04.30203@users.sourceforge.net> cc: freebsd-questions@freebsd.org Subject: Re: Configure ssh to behave like rsh. How? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 15:13:27 -0000 I was interested in this for a slightly different reason --- I would like to allow some users to ssh into my machine so they can port forward but not allow them to actually login to the machine. I found http://groups.google.com/groups?selm=200206210808.g5L88SJ15420_splat.grant.org%40ns.sol.net to work. On Fri, 25 Jun 2004 15:45:24 +0900, Rob wrote: > > > Hi, > > I have a cluster of PCs, on which the 'slaves' used to only allow rsh > connections, to execute commands, but no logins. > > I have removed the r-commands, and want to use the ssh command family > instead. Although 'ssh slaveN command' works fine, this also allows login > to the slave PC, simply by typing 'ssh slaveN'. > > How can I configure sshd, so that it will allow remote command execution, > but will refuse logins? > > Thanks, > Rob. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >