# tuna and Raspberry Pi

## Step 1. Download the client

Connect to Raspberry Pi via SSH:

```shell
ssh root@raspberrypi.local

```

Install tuna with a single command:

**curl**

```shell
sh -c "$(curl -sSLf https://releases.tuna.am/tuna/get.sh)"

```

**wget**

```shell
sh -c "$(wget -qO- https://releases.tuna.am/tuna/get.sh)"

```

Set the token for the client to work, it can be copied from a [dedicated page](https://my.tuna.am/token):

```shell
tuna config save-token <TOKEN>

```

## Step 2. Run tuna

```shell
tuna tcp 22

```

As a result of running the command, the connection address will be displayed (for example, `ru.tuna.am:12345`), which can now be used to connect to the SSH server on Raspberry Pi, for example:

```shell
ssh -p 12345 user@ru.tuna.am

```
