SCP

August Simonelli augusts at gmail.com
Tue Aug 24 03:35:45 PDT 2004


On Tue, 24 Aug 2004 12:28:23 +0200, Spidey Knepscheld <spidey at act.co.za> wrote:
> Hi Guys
> 
> I have to FreeBSD boxes next to each other and would like to copy a
> directory from the mail server to the firewall.I have root access to
> both the PC's.The directory on the mail server is /home/www/trafd and I
> would like to copy it to the fw to /usr/ports/net/ . Here is the command
> I tried :
> 
> scp /home/www/trafd  <mailto:spidey at 196.15.213.253>
> spidey at 196.15.213.253: /usr/trafd

I think it's more like this: scp user at remotehost:/path/to/remote/dir/*
/path/to/local/dir/

i'm still pretty new at this but if i'm not mistaken root can't login
remotely by default, so unless you've allowed that it'll fail.

hope this helps ...

august

> 
> Please if someone can help
> 
> Spidey
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list