Chapter 7. The Old-boy Network

In this chapter, we will cover:

  • Setting up the network
  • Let us ping!
  • Listing all the machines alive on a network
  • Running commands on a remote host with SSH
  • Transferring files through the network
  • Connecting to a wireless network
  • Password-less auto-login with SSH
  • Port forwarding using SSH
  • Mounting a remote drive at a local mount point
  • Network traffic and port analysis
  • Creating arbitrary sockets
  • Sharing an Internet connection
  • Basic firewall using iptables

Introduction

Networking is the act of interconnecting machines to form a network so that the machines can interchange information. The most widely used networking stack is TCP/IP, where each node is assigned a unique IP address for identification. There are many parameters in networking, ...

Get Linux Shell Scripting Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.