From owner-freebsd-questions Tue Nov 16 4:46:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from demokrit.nikoma.de (demokrit.nikoma.de [212.122.129.5]) by hub.freebsd.org (Postfix) with ESMTP id 5077E14C93 for ; Tue, 16 Nov 1999 04:46:31 -0800 (PST) (envelope-from alx@cuba.xs4all.nl) Received: from bserver.freaknet.uhlennet.de (ppp-39.pm02.hbg.nikoma.de [212.122.132.102]) by demokrit.nikoma.de (Postfix) with SMTP id 94AB48B8F6; Tue, 16 Nov 1999 13:46:30 +0100 (CET) Date: Tue, 16 Nov 1999 13:45:56 +0100 (CET) From: alx To: Sheldon Hearn Cc: freebsd-questions@FreeBSD.ORG Subject: Re: scp fails on wrong path to scp executable In-Reply-To: <54282.942744909@axl.noc.iafrica.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Nov 1999, Sheldon Hearn wrote: > > On Tue, 16 Nov 1999 07:43:06 +0100, alx wrote: > > > [root@freak distfiles]# scp alxkiste:/usr/ports/distfiles/rdate* . > > > > it says: > > > > root@alxkiste's password: > > scp: Command not found. > > > After making a symlink /usr/bin/scp --> /usr/local/bin/scp it works. > > If you had to create this symlink on your FreeBSD box, you may find that > the user alxkiste on the FreeBSD box doesn't have /usr/local/bin in its > PATH. alxkiste is the name of the FreeBSD box, the user, in this case root, has /usr/local/bin in its path. But i forgot to kill and restart sshd after deinstalling openssh and installing ssh, so with ssh it works without symlink. openssh is working now, after cvsuping ports and rebuilding openssh. I think, its reading login.conf now (read on cvs-all). > If you had to create this symlink on your Linux box, you're asking the > wrong people. :-) I would never bother you with that frosty bird ;-) > Ciao, > Sheldon. Thanks, alx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message