Accessing the Secure Shell (SSH)

This recipe describes how to access the pfSense console from any Linux, Mac, or Windows client computer.

Getting ready

SSH must be enabled and configured on our pfSense box. Linux and Mac users will have the SSH client installed by default. Windows users will have to download and install PuTTY.

How to do it...

Connect via SSH from a Linux/Mac client as follows:

  1. Open a terminal window and run:
    ssh admin@192.168.1.1
    
  2. If you are using the default configuration, you'll then be prompted for a password.
  3. If you are using RSA key authentication, you'll connect directly or be asked to enter the pass-phrase associated with your key. If you need to specify the location of your private key file, you can use the -i option as follows: ...

Get pfSense 2 Cookbook 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.