From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 04:15:46 2003 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 C360937B401 for ; Fri, 20 Jun 2003 04:15:46 -0700 (PDT) Received: from juice.thebigchoice.com (pc1-nott2-3-cust18.nott.cable.ntl.com [80.4.204.18]) by mx1.FreeBSD.org (Postfix) with SMTP id 44D4F43FAF for ; Fri, 20 Jun 2003 04:15:45 -0700 (PDT) (envelope-from matt@thebigchoice.com) Received: (qmail 14975 invoked from network); 20 Jun 2003 11:15:38 -0000 Received: from localhost.proweb.net (HELO thebigchoice.com) (127.0.0.1) by juice.thebigchoice.com with SMTP; 20 Jun 2003 11:15:38 -0000 Message-ID: <3EF2ECD9.7040106@thebigchoice.com> Date: Fri, 20 Jun 2003 12:15:37 +0100 From: Matt Heath User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en, en-us MIME-Version: 1.0 References: <3EF2FEDC.18823.8346FA@localhost> In-Reply-To: <3EF2FEDC.18823.8346FA@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Fehmi cc: freebsd-questions@freebsd.org Subject: Re: Telnet in a script 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, 20 Jun 2003 11:15:47 -0000 cs@bsdroot.net wrote: >'man expect' will make you happy! > >--chris > > > cat /usr/ports/lang/expect/pkg-descr 8) ssh user@domain "command" set up passwordless logging in via .ssh/authorized_keys (generate a key with no password) and you're away