From owner-freebsd-questions Tue Nov 16 15:31:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from news-ma.rhein-neckar.de (news-ma.rhein-neckar.de [193.197.90.3]) by hub.freebsd.org (Postfix) with ESMTP id 08B8214E1A for ; Tue, 16 Nov 1999 15:31:49 -0800 (PST) (envelope-from daemon@bigeye.rhein-neckar.de) Received: from bigeye.rhein-neckar.de (uucp@localhost) by news-ma.rhein-neckar.de (8.8.8/8.8.8) with bsmtp id AAA02224 for freebsd-questions@freebsd.org; Wed, 17 Nov 1999 00:31:48 +0100 (CET) (envelope-from daemon@bigeye.rhein-neckar.de) Received: (from daemon@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id WAA35764 for freebsd-questions@freebsd.org; Tue, 16 Nov 1999 22:33:30 +0100 (CET) (envelope-from daemon) From: naddy@mips.rhein-neckar.de (Christian Weisgerber) Subject: Re: scp fails on wrong path to scp executable Date: 16 Nov 1999 22:33:30 +0100 Message-ID: <80sija$12t8$1@bigeye.rhein-neckar.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alx wrote: > [root@freak distfiles]# scp alxkiste:/usr/ports/distfiles/rdate* . > root@alxkiste's password: > scp: Command not found. That was a problem with the OpenSSH port that has since been fixed. (The scp command was only looked for in /bin, /usr/bin, /sbin, and /usr/sbin. However, the FreeBSD port installs it to /usr/local/bin. As a workaround, you could set up an ~/.ssh/environment file containing a PATH with /usr/local/bin.) -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message