From owner-freebsd-questions@FreeBSD.ORG Fri Mar 25 17:18:57 2005 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 39EAE16A4F8 for ; Fri, 25 Mar 2005 17:18:57 +0000 (GMT) Received: from shiva.nextrials.com (shiva.nextrials.com [64.81.74.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0F8F43D46 for ; Fri, 25 Mar 2005 17:18:56 +0000 (GMT) (envelope-from dannyman@toldme.com) Received: from [192.168.1.102] (mito.sr.nextrials.com [192.168.1.102]) by shiva.nextrials.com (Postfix) with ESMTP id 9226E3C2831; Fri, 25 Mar 2005 09:18:56 -0800 (PST) Message-ID: <424447FA.3020706@toldme.com> Date: Fri, 25 Mar 2005 09:18:50 -0800 From: Danny Howard User-Agent: Mozilla Thunderbird 1.0 (X11/20050323) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rob References: <20050325034016.1961.qmail@web54009.mail.yahoo.com> In-Reply-To: <20050325034016.1961.qmail@web54009.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD questions Subject: Re: shell stdin redirection: possible for ssh-password input? 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 Mar 2005 17:18:57 -0000 Rob wrote: >I take for granted that my password will be there >in clear text! Are there other options? > > Rob, Check out expect. There's even a Perl module for it. Expect is the bad old way we used to handle such problems. It is this funky sub-language designed for completing interactive sessions in an automated way. Also, please post from a legitimate e-mail address, in case someone were sufficiently good-natured to hit "Reply" instead of "Reply All." Good luck. -danny