On Thu, Aug 24, 2000 at 02:51:39AM +0000, Marvin Stodolsky wrote:
:To just do simple FTP between my laptop and desktop without any other
:network, what are the appropriate script settings?
:PCMCIA ethernet cards are functional in each.
:Please copy to me as well as the LIST.

well hardware is the first thing that will bit you.  Make sure you use
a crossover cable or two regular (straight through) cables and a hub.

for ip settings it doesn't really matter what numbers you use if
there's only the two machines an example of how to do this part:

[EMAIL PROTECTED] ifconfig eth0 10.10.10.1 up
[EMAIL PROTECTED] ifconfig eth0 10.10.10.2 up

then there's getting ftp running on the one you want files off of.  I
don't recommend ftp for this.  Security isn't an issue assuming
there's just this isolated network, but I'd still recommend ssh/scp.  It's
the simplest option as well (assuming you can get an internet
connection to download the .deb files):

[EMAIL PROTECTED] apt-get install ssh
[EMAIL PROTECTED] apt-get install ssh

then to copy the files:

[EMAIL PROTECTED] scp bar:/path/to/file [bar:/path/to/file2 ...] /local/path/

or for recursive copy of directories

[EMAIL PROTECTED] scp -r bar:/path/to/directory/ /local/path

if you have a different username on the remote machine use:
[EMAIL PROTECTED] scp [EMAIL PROTECTED]:/path/to/file [bar:/path/to/file2 ...] 
/local/path/

HTH,
Jon

Reply via email to