From owner-freebsd-questions Mon Jun 17 16: 8:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 7767537B40D for ; Mon, 17 Jun 2002 16:08:25 -0700 (PDT) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id AE91828D97; Mon, 17 Jun 2002 19:08:24 -0400 (EDT) Date: Mon, 17 Jun 2002 19:08:24 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: Kris Kennaway Cc: FreeBSD LIST Subject: Re: sftp/ssh quell shell? [Kris] In-Reply-To: <20020617135650.B29827@xor.obsecurity.org> Message-ID: <20020617190413.F80624-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com 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 On Mon, 17 Jun 2002, Kris Kennaway wrote: > PL> experimenting to get scp (and qpopper) to work, the problem I kept running > PL> up against seemed to be that I was running tcsh as my shell on both the > PL> local FreeBSD box and the destination FreeBSD box. All I wanted to do was > This cannot be the cause of your problem: I (and many other people, since tcsh is ths default FreeBSD shell) do this every day. myprompt$ scp -S ssh -C pete@thehostname-here.com:/var/mail/pete usage: scp [-pqrvBC46] [-S ssh] [-P port] [-c cipher] [-i identity] f1 f2 or: scp [options] f1 ... fn directory I was going to show you what I mean, but I don't remember how, ugh. The error message was something related to "setenv TERM" and some kind of ioctyl undefined message or something. Oh and by the way, `man scp` doesn't explain *where* you want the remote file copied, for example, to the working directory or mirror the full path of the remote file locally. Know whaddaye mane? > PL> Not sure I follow 100% but you've got me on the right track I suppose, Thx. > .cshrc is a shell script. You can use csh commands to only conditionally execute part of the script if the variables are set. -Kris Uh, what? -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message