Book Image

Banana Pi Cookbook

By : Ryad El-Dajani
Book Image

Banana Pi Cookbook

By: Ryad El-Dajani

Overview of this book

Table of Contents (13 chapters)

Connecting via SSH on Unix-like systems


In this recipe, we will connect to the Banana Pi using SSH on Linux or other Unix-like operating systems such as Mac OS X or FreeBSD. You probably have installed the required OpenSSH client already.

Getting ready

You will need the following ingredients to connect to your Banana Pi using SSH:

  • A booted up Linux operating system on your Banana Pi connected to your local network

  • A PC or Mac running a Unix-like operating system that has the OpenSSH client installed and is also connected to your local area network

How to do it…

To connect to your Banana Pi, you only need to perform the following steps:

  1. Open an arbitrary terminal program of your operating system.

  2. Type in the following ssh command into your shell:

    $ ssh -l bananapi 192.168.178.37
    

    Note

    In the previous command, we use the destination IP address of the Banana Pi, which we determined earlier. Indeed, you need the correct IP address or hostname of your Banana Pi.

  3. When trying to connect for the first time...