From owner-freebsd-isp Tue Feb 23 8:32:46 1999 Delivered-To: freebsd-isp@freebsd.org Received: from mail.nacamar.de (mail.nacamar.de [194.162.162.200]) by hub.freebsd.org (Postfix) with ESMTP id 05B1F10E7C for ; Tue, 23 Feb 1999 08:32:24 -0800 (PST) (envelope-from rohrbach@mail.nacamar.de) Received: (from rohrbach@localhost) by mail.nacamar.de (8.8.7/8.8.8MB-19980212) id RAA04223; Tue, 23 Feb 1999 17:32:08 +0100 (CET) Message-ID: <19990223173203.E2095@nacamar.net> Date: Tue, 23 Feb 1999 17:32:04 +0100 From: "Karsten W. Rohrbach" To: Karl Pielorz , ryanm@accn.org Cc: "freebsd-isp@FreeBSD.ORG" Subject: Re: Secure Shell Q Reply-To: rohrbach@nacamar.net Mail-Followup-To: Karl Pielorz , ryanm@accn.org, "freebsd-isp@FreeBSD.ORG" References: <36D171AE.A9023E77@accn.org> <36D1AB69.11030061@tdx.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <36D1AB69.11030061@tdx.co.uk>; from Karl Pielorz on Mon, Feb 22, 1999 at 07:09:29PM +0000 X-Arbitrary-Number-Of-The-Day: 42 X-Sender: rohrbach@nacamar.net X-Organisation: Nacamar Data Communications GmbH X-Address: Robert-Bosch-Str. 32, 63303 Dreieich, Germany X-Phone: vox: +49 6103 993 870 fax: +49 6103 993 199 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org you can also use single quotes, should work transparently for remote commands. what happens is, that your local shell tries to expand the wildcards when using dubblquotes /k Karl Pielorz (kpielorz@tdx.co.uk) @ Mon, Feb 22, 1999 at 07:09:29PM +0000: > > > ryanm wrote: > > > > Hello fellow FreeBSD users, > > > > Does anyone know why secure shell 1.2.26 will not expand wildcard > > characters?? I am trying to do the following: > > > > /usr/local/bin/ssh -C -l radius -i IDENT.FILE HOSTNAME "zcat > > /home/info/logfile.*.gz \ > > | grep user | tail -1" > > > > It keeps saying logfile.*.gz not found. Any suggestions?? > > Put a '\' infront of the '*' - otherwise your local shell will try to expand > it, i.e. use "\*" rather than just "*". > > -Kp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message -- "The path of excess leads to the tower of wisdom." -- W. Blake http://www.nacamar.de - http://www.nacamar.net - http://www.webmonster.de http://www.apache.de - http://www.quakeforum.de - finger rohrbach@nacamar.net PGP Key fingerprint = F9 A0 DF 91 74 07 6A 1C 5F 0B E0 6B 4D CD 8C 44 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message