O'Reilly logo

BackTrack 5 Cookbook by David De Smet, Willie Pritchett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Starting network services

BackTrack comes with several network services, which may be useful in various situations and are disabled by default. In this recipe, we will cover the steps to set up and start each service using various methods.

Getting ready

A connection to the network with a valid IP address is needed in order to continue.

How to do it...

Let's begin the process of starting our default service:

  1. Start the Apache web server:
    service apache2 start
    

    We can verify the server is running by browsing to the localhost address.

  2. To start the SSH service, SSH keys need to be generated for the first time:
    sshd-generate
    
  3. Start the Secure Shell server:
    service ssh start
    
  4. To verify the server is up and listening, use the netstat command:
    netstat -tpan | grep ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required