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
Eternal Terminal works under WSL (Windows Subsystem for Linux). Follow the ubuntu instructions.
141
+
Eternal Terminal works under WSL (Windows Subsystem for Linux). Follow the ubuntu instructions.
142
142
143
143
### Docker Image
144
144
@@ -148,7 +148,7 @@ See [docker/README.md](docker/)
148
148
149
149
Verify that the client is installed correctly by looking for the `et` executable: `which et`.
150
150
151
-
Verify that the server is installed correctly by checking the service status: `systemctl status et`. On some operating systems, you may need to enable and start the service manually: `sudo systemctl enable --now et`.
151
+
Verify that the server is installed correctly by checking the service status: `systemctl status et`. On some operating systems, you may need to enable and start the service manually: `sudo systemctl enable --now et`.
152
152
153
153
You are ready to start using ET!
154
154
@@ -163,20 +163,25 @@ ET uses ssh for handshaking and encryption, so you must be able to ssh into the
163
163
ET uses TCP, so you need an open port on your server. By default, it uses 2022.
164
164
165
165
Once you have an open port, the syntax is similar to ssh. Username is default to the current username starting the et process, use `-u` or `user@` to specify a different if necessary.
166
+
166
167
```
167
168
et hostname (etserver running on default port 2022, username is the same as current)
168
169
et user@hostname:8000 (etserver running on port 8000, different user)
169
170
```
171
+
170
172
You can specify a jumphost and the port et is running on jumphost using `--jumphost` and `--jport`. If no `--jport` is given, et will try to connect to default port 2022.
173
+
171
174
```
172
175
et hostname -jumphost jump_hostname (etserver running on port 2022 on both hostname and jumphost)
173
176
et hostname:8888 --jumphost jump_hostname --jport 9999
174
177
```
178
+
175
179
Additional arguments that et accept are port forwarding pairs with option `-t "18000:8000, 18001-18003:8001-8003"`, a command to run immediately after the connection is setup through `-c`.
176
180
177
181
Starting from the latest release, et supports parsing both user-specific and system-wide ssh config file.
178
182
The config file is required when your sshd on server/jumphost is listening on a port which is not 22.
179
183
Here is an example ssh config file showing how to setup when
184
+
180
185
- there is a jumphost in the middle
181
186
- sshd is listening on a port which is not 22
182
187
- connecting to a different username other than current one.
@@ -212,7 +217,7 @@ cmake ../
212
217
make -j$(nproc) && sudo make install
213
218
```
214
219
215
-
To run an `et` server for testing, run `./etserver`. To run an `et`
220
+
To run an `et` server for testing, run `./etserver`. To run an `et`
216
221
server daemon persistently across reboots:
217
222
218
223
```
@@ -249,10 +254,10 @@ sudo cp ../etc/et.cfg /etc/
249
254
250
255
Once built, the binary only requires `libprotobuf-dev`.
Correct the service file (see [#180](https://github.com/MisterTea/EternalTerminal/issues/180) for details).
286
293
@@ -290,7 +297,7 @@ sudo sed -ie "s|ExecStart=[^[:space:]]*[[:space:]]|ExecStart=$(which etserver) |
290
297
291
298
Alternativelly, open the file /etc/systemd/system/et.service in an editor and correct the `ExectStart=...` line to point to the correct path of the `etserver` binary.
0 commit comments