Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 15:19:06 +0100
From:      Mario Hoerich <lists@MHoerich.de>
To:        Joshua Lewis <jmlewis@dslextreme.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Secure File Copy
Message-ID:  <20051115141905.GA27364@Pandora.MHoerich.de>
In-Reply-To: <006301c5e9eb$2ea4b620$340a10ac@buzz>
References:  <006301c5e9eb$2ea4b620$340a10ac@buzz>

next in thread | previous in thread | raw e-mail | index | archive | help
# Joshua Lewis:
> I have a FreeBSD 5.4 system and I have no way to back up the data. I don't
> have a burner and I can't get one anytime soon. I do however have a burner
> on my wifes G4 laptop. I have enabled SSH on the FreeBSD system and I can
> SSH into the box from the Mac, However I do not know how to copy the files I
> need to back up from the FreeBSD system to the Mac. 

With scp.  From your mac type:

    $ scp -r user@BSD.machine:/remote/path /local/path

which copies the directory /remote/path on the BSD machine to
/local/path on the mac.  There are also graphical frontends
for this, e.g. Fugu <URL:http://rsug.itd.umich.edu/software/fugu/>. 

If you need to do this frequently (and your wife doesn't mind
keeping your files on her book) it's probably better to use rsync,
i.e.
    $ rsync -vatz --delete user@BSD.machine:/remote/path /local/path

(see the man page for details).


 HTH,
Mario



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