From owner-freebsd-stable Sat Dec 2 11:39:34 2000 Delivered-To: freebsd-stable@freebsd.org Received: from hugo10.ka.punkt.de (unknown [194.77.232.254]) by hub.freebsd.org (Postfix) with ESMTP id 373A537B400 for ; Sat, 2 Dec 2000 11:39:30 -0800 (PST) Received: (from ry93@localhost) by hugo10.ka.punkt.de (8.9.3/8.9.3) id UAA29691; Sat, 2 Dec 2000 20:39:26 +0100 (CET) (envelope-from ry93) From: "Patrick M. Hausen" Message-Id: <200012021939.UAA29691@hugo10.ka.punkt.de> Subject: Re: can't flash Cisco 2516 using rcp (recv In-Reply-To: <200012021912.UAA01930@galaxy.de.cp.philips.com> from Helge Oldach at "Dec 2, 2000 08:12:27 pm" To: Helge.Oldach@de.origin-it.com (Helge Oldach) Date: Sat, 2 Dec 2000 20:39:26 +0100 (CET) Cc: andreas@klemm.gtn.com (Andreas Klemm), freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! Helge Odach wrote: > Andreas Klemm: > >On Sat, Dec 02, 2000 at 01:14:36PM +0100, Helge Oldach wrote: > >> OK. But you do have a proper /home/andreas/tftpboot/.rhosts? And > >> /home/andreas/tftpboot and its contents is world readable? > > > >o.k. forgot the .rhosts for user ios in ~andreas/tftpboot > >but same failure ... > > Odd. You should be able to rcp from other Unix hosts, simulating > the 2516's rcp. Does that work? If not maybe it has to do with > /etc/hosts.equiv, /etc/auth.conf or other knobs. You are aware that all > "r" tools are disabled by default in /etc/inetd.conf? A couple of months ago I experimented with rcp on ciscos, too. IIRC, the router _always_ logs in to the user specified, but with its own hostname as the remote username. (i.e. the remote username _as_presented_to_the_unix_host_) Test: lagavulin#conf t lagavulin(config)#ip rcmd remote-username pmh lagavulin#copy startup-config rcp Address or name of remote host []? ardbeg.komma.de Translating "ardbeg.komma.de"...domain server (194.77.233.18) [OK] Destination username [pmh]? Destination filename [lagavulin-confg]? Writing lagavulin-confg ! 1279 bytes copied in 0.372 secs $ uname -a FreeBSD ardbeg.komma.de 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Dec 2 14:35:36 CET 2000 root@ardbeg.komma.de:/usr/obj/usr/src/sys/ARDBEG i386 $ cat .rhosts lagavulin lagavulin HTH, Patrick P.S. lagavulin-conf didn't exist before the rcp - a clear advantage over using tftp. -- --- WEB ISS GmbH - Scheffelstr. 17a - 76135 Karlsruhe - 0721/9109-0 --- ------ Patrick M. Hausen - Technical Director - hausen@punkt.de ------- "Contrary to popular belief, penguins are not the salvation of modern technology. Neither do they throw parties for the urban proletariat." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message