From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 06:46:54 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 8E31F16A4CE for ; Fri, 25 Jun 2004 06:46:54 +0000 (GMT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29FB343D2D for ; Fri, 25 Jun 2004 06:46:54 +0000 (GMT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004062515:45:11:959679.23117.3047279536 for ; Fri, 25 Jun 2004 15:45:11 +0900 (KST) Message-ID: <40DBCA04.30203@users.sourceforge.net> Date: Fri, 25 Jun 2004 15:45:24 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: YES-__TRSYS_LV__3 (SR:-10.70) (SRN:SPAMROBOT) ----------------- Subject: 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 06:46:54 -0000 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.