Unix for Mac OS X 10.4 Tiger: Visual QuickPro Guide (2nd Edition)

Advanced Interactions

As you probably have guessed, this chapter has covered only the most common ways of interacting with other machines over networks.

As you become more proficient using Unix, you may wish to tackle more-advanced forms of interaction with other machinesfor example, creating scripts to perform unattended copying of files, or setting up virtual private networks.

In this section we'll give you some pointers about where you can find information to take you further along the Unix path .

Automated (unattended) file transfers

To perform unattended file transfers, you need to learn about creating scripts (review Chapter 9, "Creating and Using Scripts") and to become familiar with one or more of the file cross-network copying tools, such as scp and rsync . Because you are likely to do your file transfer using an encrypted connection, you will also want to learn more about SSH.

Here are some resources to use in building up your knowledge and skills:

Virtual private networks

If you have a private network you wish to connect to another private network (perhaps you have a company with offices in two or more cities), you can lease private lines connecting the offices to create one larger network (or internetwork ). You can also connect the separate private networks through the public Internet using encrypted connections, creating a virtual private network (VPN).

Here are some resources to use in learning more about VPNs and how to set them up:

Sharing disks with other Unix machines

The Network File System (NFS) protocol is the Unix way of doing what the Apple File Protocol (AFP) does in the traditional Macintosh worldit allows machines to mount disks on other machines over networks.

The Webmin system, which we'll describe in Chapter 11, "Introduction to System Administration," may be used to configure NFS. You can find a shareware GUI tool designed to configure NFS on Mac OS X at MBS's NFS Manager page (www.bresink.de/osx/NFSManager.html).

Категории