|
1 | 1 | # Accessing the Linux Terminal |
2 | 2 |
|
3 | | -For some issues, it can be necessary or helpful to run specific commands in Linux to diagnose or resolve issues. While this may seem complex, it might be easier than you think! |
| 3 | +For some issues, it can be necessary or helpful to run specific commands in Linux to diagnose or resolve issues. While this may seem complex, it is easier than you think! |
4 | 4 |
|
5 | | -## Option 1 - Web Based Terminal |
6 | 5 |
|
7 | | -On the settings page, there is a button labeled "Linux Terminal" under the Status heading. Clicking this button open a new window and prompt for a username and password. |
| 6 | +## Using SSH |
8 | 7 |
|
9 | | -<center> |
10 | | - <figure> |
11 | | - <img src="/images/advanced/terminal1.png"> |
12 | | - </figure> |
13 | | -</center> |
14 | | - |
15 | | -The username is "admin" and the password is the password you have set for your MyNode device (default is "bolt"). |
16 | | - |
17 | | -<center> |
18 | | - <figure> |
19 | | - <img src="/images/advanced/terminal2.png"> |
20 | | - </figure> |
21 | | -</center> |
22 | | - |
23 | | -After entering the username and password, you should be presented with an interactive Linux terminal in your web browser! |
24 | | - |
25 | | -<center> |
26 | | - <figure> |
27 | | - <img src="/images/advanced/terminal3.png"> |
28 | | - </figure> |
29 | | -</center> |
30 | | - |
31 | | -**Tip:** If accessing the web based Linux Terminal over Tor, the terminal may not display properly. To resolve, click the image in the top left next to "Onion" (it looks a mountain and sun). Click to allow "Extract Canvas Data" and reload. The page should now display properly. |
32 | | - |
33 | | -## Option 2 - Using SSH |
| 8 | +The Linux Terminal can be accessed via SSH, which allows you to run an app or command on your PC to connect to Linux on your device. |
34 | 9 |
|
35 | | -In some cases, the web based Linux Terminal may not be working or you may prefer a more typical option for accessing the Linux terminal. This is done via SSH, which allows you to run an app or command on your PC to connect to the Linux shell on your device. |
| 10 | +- Open a terminal on your Mac, Windows, or Linux computer |
| 11 | +- At the prompt, type `ssh [email protected]` or replace mynode.local with the IP address of your device |
| 12 | +- at the password prompt, type your node's password and press enter (the password will be hidden) |
| 13 | +- Success! You are now connected to your node and can run shell commands |
| 14 | +- To exit, type `exit` and press enter |
36 | 15 |
|
37 | | -Good instructions for SSH access are available from Raspberry Pi's website. Start following this Guide at step #4. |
| 16 | +Good instructions for SSH access are also available from Raspberry Pi's website. Start following this Guide at step #4. |
38 | 17 |
|
39 | 18 | <a href="https://www.raspberrypi.org/documentation/remote-access/ssh/" target="_blank">https://www.raspberrypi.org/documentation/remote-access/ssh/</a> |
40 | 19 |
|
|
0 commit comments