[ale] Dumb question - file transfer over SSH?
David S. Jackson
deepbsd at earthlink.net
Thu Apr 25 12:36:31 EDT 2002
On Thu, Apr 25, 2002 at 11:48:55AM -0400 Charles Marcus <CharlesM at Media-Brokers.com> wrote:
> scp test.txt username at hostname:/directory/I/have/write/access/to
>
> entered my password at prompt, then got:
>
> test.txt: No such file or directory
>
> What did I miss?
Let's say test.txt is in /home/you/test.txt. You can either go
scp /home/you/test.txt you at host:. # will copy to your $HOME
or
cd && scp test.txt you at host:.
You can copy to another directory on host, however, as long as you have
write permission to it. You can also copy directory trees with it using
the -r switch.
> Didn't for me - 'No manual entry for scp' is all I get. They're on FreeBSD,
> and are have about 500 chrooted domains they are hosting, so maybe thats
> why...
Was ssh installed from ports? Is it an older version of FreeBSD? I
just cvsupped to stable recently and I have a man scp dated September
25, 1999 (FreeBSD 4.5).
Here's the long listing of it:
-r--r--r-- 1 root wheel 1270 Apr 20 18:14
/usr/share/man/man1/scp.1.gz
Early versions may not have included it because of ITAR and so forth.
--
David S. Jackson dsj at dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Right now I'm having amnesia and deja vu at the
same time."
-- Steven Wright
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list