From owner-freebsd-questions Sat Dec 9 18: 6:53 2000 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 9 18:06:51 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 8772737B400; Sat, 9 Dec 2000 18:06:51 -0800 (PST) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sat, 9 Dec 2000 18:05:17 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eBA26j601690; Sat, 9 Dec 2000 18:06:45 -0800 (PST) (envelope-from cjc) Date: Sat, 9 Dec 2000 18:06:44 -0800 From: "Crist J. Clark" To: Nicolas Cc: "Nicolai L. Brown" , Bill Paul , freebsd-questions@FreeBSD.ORG Subject: Re: scp only Message-ID: <20001209180644.C96105@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <20001208202307.0CE0E37B401@hub.freebsd.org> <005201c0622c$93aff800$0364000a@rachinsky.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <005201c0622c$93aff800$0364000a@rachinsky.de>; from list@rachinsky.de on Sat, Dec 09, 2000 at 11:06:44PM +0100 Sender: cjc@149.211.6.64.reflexcom.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Dec 09, 2000 at 11:06:44PM +0100, Nicolas wrote: > I'm sorry but none of your solutions works. > /bin/false as shells denies any access via ssh (including scp) > ~/.login containing logout could be circumvented by starting another command (e.g. /bin/sh) via ssh. How about the 'command=' option in the authorized_keys file? See sshd(1). -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message