Guide:Connecting to your device with SSH

From PINE64
Jump to navigation Jump to search

How you connect via SSH depends on what you are using as a client (the device you want to SSH From). The server in this case is the Rock 64 Board.

The username/password of the Rock64 OS will depend on which OS you've downloaded and flashed:

ROCK64_Main_Page

Linux, MacOS, and Windows10

Open a terminal emulator installed in your distro and enter the credentials and that's all there is to it! Further reading: https://help.ubuntu.com/community/SSH/OpenSSH/ConnectingTo

In this scenario, the string:

ssh username@ip.address

Would look like

ssh rock64@192.168.1.128

Again, this depends on which Image was downloaded and what the IP address is.

Putty (Linux, Windows)

Windows historically didn't have an SSH client installed, you'd need to download one to SSH into the Rock 64.

PuTTY is one such program: https://en.wikipedia.org/wiki/PuTTY , download page can be found by following the homepage link.

However, for step 2, you'll need to insert the IP address of the Rock 64 found in the previous guide: In my example it was 192.168.1.128. Yours will likely be different.

You should have it looking somewhat similar to this:

Putty1.png

Click on "Open" to initiate a SSH connection. You might get a warning message about an RSA key.

Putty2.png

It's not important at this stage, since it is over a local connection and you have physical access to the hardware. Accept the connection.

Once you accept the connection, you'll be prompted to insert a Username/Password. This depends on the OS image you downloaded, its available on the Wiki Link. In My case, the image is the "Xenial Mate" image, so the username/password is rock64/rock64. Its normal to not see the password being typed in, this is a security feature.

Putty3.png

If everything goes well, you should now be logged into your Board, and the display should look something like this:

Putty4.png

That means you're in and you can issue commands and communicate with your board via SSH!

References