From owner-freebsd-questions Thu Oct 11 20:34:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from koza.acecape.com (koza2.acecape.com [66.9.36.222]) by hub.freebsd.org (Postfix) with ESMTP id ED64A37B403 for ; Thu, 11 Oct 2001 20:34:34 -0700 (PDT) Received: from p65-147.acedsl.com (p65-147.acedsl.com [66.114.65.147]) by koza.acecape.com (8.10.1/8.9.3) with ESMTP id f9C3YS929677 for ; Thu, 11 Oct 2001 23:34:28 -0400 (EDT) Date: Thu, 11 Oct 2001 23:38:34 -0400 (EDT) From: Francisco Reyes X-X-Sender: To: FreeBSD Questions List Subject: Automating ssh connections so only one command would run. Message-ID: <20011011233059.F7823-100000@zoraida.natserv.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I followed several tutorials on how to automate ssh connections, but I would like to restrict the connection so only scp would run. I have seen in the past on a magazine two options one can put on the authorized_keys file: from, command. Anyone has an example on how to do this? Basically I am trying to automate scp, but don't want any other command to run without a passphrase. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message