You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-15Lines changed: 21 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,18 +55,18 @@ The easiest way to get an Algo server running is to run it on your local system
55
55
56
56
- **Linux:** Recent releases of Ubuntu, Debian, and Fedora come with Python 3 already installed. Make sure your system is up-to-date and install the supporting package(s):
57
57
* Ubuntu and Debian:
58
-
```bash
59
-
sudo apt install -y python3-virtualenv
60
-
```
58
+
```bash
59
+
sudo apt install -y python3-virtualenv
60
+
```
61
61
* Fedora:
62
-
```bash
63
-
sudo dnf install -y python3-virtualenv
64
-
```
62
+
```bash
63
+
sudo dnf install -y python3-virtualenv
64
+
```
65
65
* Red Hat and CentOS 7 and later (for earlier versions see this [documentation](docs/deploy-from-redhat-centos6.md)):
66
-
```bash
67
-
sudo yum -y install epel-release
68
-
sudo yum install -y python36-virtualenv
69
-
```
66
+
```bash
67
+
sudo yum -y install epel-release
68
+
sudo yum -y install python36-virtualenv
69
+
```
70
70
71
71
- **Windows:** Use the Windows Subsystem for Linux (WSL) to create your own copy of Ubuntu running under Windows from which to install and run Algo. See the [Windows documentation](docs/deploy-from-windows.md).
72
72
@@ -151,19 +151,25 @@ Depending on the platform, you may need one or multiple of the following files.
151
151
152
152
If you turned on the optional SSH tunneling role, thenlocal user accounts will be created foreach userin`config.cfg` and SSH authorized_key files forthem will bein the `configs` directory (user.ssh.pem). SSH user accounts do not have shell access, cannot authenticate with a password, and only have limited tunneling options (e.g., `ssh -N` is required). This ensures that SSH users have the least access required to setup a tunnel and can perform no other actions on the Algo server.
153
153
154
-
Use the example command below to start an SSH tunnel by replacing `<user>` and `<ip>` with your own. Once the tunnel is setup, you can configure a browser or other application to use 127.0.0.1:1080 as a SOCKS proxy to route traffic through the Algo server.
154
+
Use the example command below to start an SSH tunnel by replacing `<user>` and `<ip>` with your own. Once the tunnel is setup, you can configure a browser or other application to use 127.0.0.1:1080 as a SOCKS proxy to route traffic through the Algo server:
Your Algo server is configured for key-only SSH access for administrative purposes. Open the Terminal app, `cd` into the `algo-master` directory where you originally downloaded Algo, and then use the command listed on the success message:
161
163
162
-
`ssh -F configs/<ip>/ssh_config <hostname>`
164
+
```
165
+
ssh -F configs/<ip>/ssh_config <hostname>
166
+
```
163
167
164
-
where `<ip>` is the IP address of your Algo server. If you find yourself regularly logging into the server then it will be useful to load your Algo ssh key automatically. Add the following snippet to the bottom of `~/.bash_profile` to add it to your shell environment permanently.
168
+
where `<ip>` is the IP address of your Algo server. If you find yourself regularly logging into the server then it will be useful to load your Algo ssh key automatically. Add the following snippet to the bottom of `~/.bash_profile` to add it to your shell environment permanently:
165
169
166
-
`ssh-add ~/.ssh/algo > /dev/null 2>&1`
170
+
```
171
+
ssh-add ~/.ssh/algo > /dev/null 2>&1
172
+
```
167
173
168
174
Alternatively, you can choose to include the generated configuration for any Algo servers created into your SSH config. Edit the file `~/.ssh/config` to include this directive at the top:
0 commit comments