How do I connect to the BB-400 over SSH?

FAQs

Connecting to a BB-400 over SSH on Windows, Mac OSX and Linux

There are many ways to connect to a BB-400. This article will focus on logging into a device over SSH (Secure SHell) from either Windows, Mac OSX or Linux.

Before using any method detailed below you will need to know 3 pieces of information about the BB-400:

  • Host name: by default bb400-aaaa where aaaa are the last 4 alpha-numerical characters of the MAC address
  • User name: by default bb
  • Password: by default aaaa where aaaa are the same last 4 alpha-numerical characters of the MAC addressIn some environments the hostname will not be available on the network. In this scenario the IP address of the device can be used.

Connecting to a BB-400 over SSH in Windows using WinSCP and Putty

In Windows we recommend the use of WinSCP and PuTTY; both use SSH to access files and execute commands.

  • WinSCP shows file and folder information in a graphic user interface (similar to Windows Explorer)
  • PuTTY presents the user with a command line interface, or shell, with direct access to the command line of the BB-400

Step by step instructions:

  1. Download WinSCP from the official website: https://winscp.net/eng/download.php, follow the installation steps.
  2. Download the Windows Installer version of PuTTY from the official website: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html, and follow the installation steps.
  3. Open WinSCP from the Windows Start Menu:
  4. Enter the host name, user name and password (optionally save the information), then click ‘Log In’:
  5. Since WinSCP has not connected to this server before, it will ask you to confirm you are happy to connect (that you trust the device):
  6. WinSCP presents a commander style interface with the local computer on the left and the BB-400 on the right. By default the location that is shown for the BB-400 is the user’s home directory: /home/bb/ this folder should be empty. You can copy files to and from the host computer using the explorer window and navigate both the host and the BB-400 directories.
  7. To open PuTTY from a WinSCP session simply click on the PuTTY icon in the menu (highlighted):
  8. Like WinSCP, PuTTY will present a warning the first time you log into a new BB-400, click yes to accept.
  9. PuTTY will attempt to connect over SSH, and ask you for the password for the device. Type it in:
  10. The PuTTY home screen puts the user in the same directory as WinSCP /home/bb/. From here commands can be entered. Try entering bb config and see the output.
  11. To exit PuTTY type exit. To exit WinSCP click the X in the top right corner of the window.

Connecting to a BB-400 over SSH in Linux and Mac OSX using the command line

Linux and Mac OSX include command line interfaces which allow the user to log into other machines over a network using SSH. Graphical user interface applications are available, for example FileZilla but typically, the command line is the default way to use SSH on these platforms.

Step by step instructions:

  1. Open a terminal:
    1. In Mac OSX go to Applications > Utilities > Terminal.app
    2. In Linux open your favourite terminal
  2. Type in ssh bb@bb400-aaaa on Linux or ssh [email protected] on Mac (Mac requires the suffix .local) press enter:
  3. The terminal will prompt you that this BB-400 has not been seen before and ask you if you trust it, type yes press enter.
  4. Enter the password for the BB-400:
  5. The terminal home screen puts the user in the /home/bb/ directory. From here commands can be entered. Try entering bb config and see the output.
  6. To exit an ssh session type exit. This brings the user back to the command line of the local machine.

The next article will look at generating SSH keys on each platform, to allow simple log in without having to type in a password.

FAQs