From owner-freebsd-questions Tue Feb 12 12: 0:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from newmail.skyrunner.net (newmail.skyrunner.net [208.133.44.6]) by hub.freebsd.org (Postfix) with ESMTP id 1B5BD37B429 for ; Tue, 12 Feb 2002 12:00:22 -0800 (PST) Received: from micron (athena.skyrunner.net [208.150.25.130]) by newmail.skyrunner.net (8.11.2/8.11.0/SuSE Linux 8.11.0-0.4) with SMTP id g1CJ14w17563 for ; Tue, 12 Feb 2002 14:01:05 -0500 From: "Peter Brezny" To: Subject: scp odd behavior Date: Tue, 12 Feb 2002 13:59:43 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Importance: Normal 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 These two seemingly identical statements are giving different results. the first scp command copies the data in the htdocs filder and puts it in the data directory the second scp command creates an htdocs director in the data directory. scp -i /bkup/.ssh/identity -r -q user@host1.com:/usr/local/htdocs/ /home/www/data/ scp -i /bkup/.ssh/identity -r -q user@host2.com:/usr/local/htdocs/ /home/www/data/ What have i missed? the users even have the same shell on the remote machines... TIA Peter Brezny Skyrunner.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message