Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 13:59:43 -0500
From:      "Peter Brezny" <peter@skyrunner.net>
To:        <freebsd-questions@freebsd.org>
Subject:    scp odd behavior
Message-ID:  <NEBBIGLHNDFEJMMIEGOOKEFEEIAA.peter@skyrunner.net>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBIGLHNDFEJMMIEGOOKEFEEIAA.peter>