1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
---
title: SecureShell (SSH)
type: docs
weight: 1
---
# SecureShell (SSH) on NekoBox
In this tutorial you will learn how to make use of the SSH VPN service using NekoBox.
NekoBox is a VPN client supporting a variety of VPN protocols, and we will be using this handy client to use SecureShell (SSH) VPN protocol.
**Please note that SSH is meant to be used as a last resort option in case the other methods don't work.**
## How to install and use NekoBox for SSH VPN:
1. Go to NekoBox's GitHub page by clicking the link below. Download the APK that is compatible with your device. (In most cases, arm64-v8a version is compatible unless you have an old smartphone.)
{{ '{{<' }} button href="https://github.com/MatsuriDayo/NekoBoxForAndroid/releases/tag/1.2.9" {{ '>}}' }}**NekoBox's GitHub Page**{{ '{{<' }} /button {{ '>}}' }}

{{ '{{<' }} hint danger {{ '>}}' }}
**Warning**
The version of Nekobox that you can download from Google Play Store is not developed by the official developer of NekoBox, **please do not use that application.**
{{ '{{<' }} /hint {{ '>}}' }}
2. Install the application and open it.
3. Grant it the permission to send you notifications (if asked).

4. In the **“VpnService Policy”**, click on YES.

5. Download the NekoBox Settings file by clicking on the link below.
[**Download NekoBox Settings**](/nekoboxsettings/Nekobox-Settings.json)
6. Open the **dashboard** by clicking on the menu icon on the top left corner of the interface and **“Tools”**.

7. Go to the **“Backup”** tab and click on **“Import from file”** button.

8. Select the setting file that you downloaded from **step 5**, then click on **“IMPORT”**.


9. If done **properly**, the UI should then turn **blue** and you should be brought back to the main screen of the app.
10. In the app, click on the + icon on at the top of the interface, and select **"Manual"**, then click on **"SSH"**



11. In the next menu, click on the option that says **"Authentication Type"** and change it to **"Public Key".**


12. Once you've done the preivous step, **copy** and **paste** the following values in their respective fields.
1. Any name that you want.
2. {{ ansible_all_ipv4_addresses[0] }}
3. **sshvpn**
4. Copy and paste the entire box below and paste it in field **#4**.
```bash
{{ users[item].sshvpn }}
```

13. Once done, click on the checkmark button at top right corner. (Note: If it's imported successfully but the VPN profle doesn't appear in the list of your VPN profiles, close the app and open it again, and it will appear in the list.)
14. Click on the VPN profile that was just added to select it. If you have multiple VPN profiles, the one that has a **highlight** on its left side is the one that is selected.
13. Click on the **button** at the bottom of the screen to connect to the VPN profile.

14. To check the latency of the VPN profile, click on the tab that says **“Connected, tap to check connection”**. It will tell you the latency in milliseconds.

15. And that's it! You can check your IP location to ensure that you are connected to the VPN and it's working properly.
|