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
Then if you want a daemon to launch `etserver` on every boot:
29
29
30
30
On m1 (Apple Silicon) Macs:
31
31
32
-
```
32
+
```bash
33
33
sudo sed 's:/usr/local/bin/etserver:/opt/homebrew/bin/etserver:g' ../init/launchd/homebrew.mxcl.et.plist | sudo tee /Library/LaunchDaemons/homebrew.mxcl.et.plist
@@ -160,26 +160,26 @@ ET uses ssh for handshaking and encryption, so you must be able to ssh into the
160
160
161
161
ET uses TCP, so you need an open port on your server. By default, it uses 2022.
162
162
163
-
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.
164
-
```
163
+
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 one if necessary.
164
+
```bash
165
165
et hostname (etserver running on default port 2022, username is the same as current)
166
166
et user@hostname:8000 (etserver running on port 8000, different user)
167
167
```
168
168
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.
169
-
```
170
-
et hostname -jumphost jump_hostname (etserver running on port 2022 on both hostname and jumphost)
169
+
```bash
170
+
et hostname --jumphost jump_hostname (etserver running on port 2022 on both hostname and jumphost)
171
171
et hostname:8888 --jumphost jump_hostname --jport 9999
172
172
```
173
-
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`.
173
+
Additional arguments that et accepts are port forwarding pairs with option `-t "18000:8000, 18001-18003:8001-8003"`, a command to run immediately after the connection is set up through `-c`.
174
174
175
-
Starting from the latest release, et supports parsing both user-specific and system-wide ssh config file.
176
-
The config file is required when your sshd on server/jumphost is listening on a port which is not 22.
177
-
Here is an example ssh config file showing how to setup when
175
+
Starting from the latest release, et supports parsing both user-specific and system-wide ssh config files.
176
+
The config file is required when your sshd on server/jumphost is listening on a port that is not 22.
177
+
Here is an example SSH config file showing how to set up when
178
178
- there is a jumphost in the middle
179
-
- sshd is listening on a port which is not 22
180
-
- connecting to a different username other than current one.
179
+
- sshd is listening on a port that is not 22
180
+
- connecting to a different username other than the current one.
181
181
182
-
```
182
+
```ssh-config
183
183
Host dev
184
184
HostName 192.168.1.1
185
185
User fred
@@ -189,7 +189,7 @@ Host dev
189
189
190
190
With the ssh config file set as above, you can simply call et with
191
191
192
-
```
192
+
```bash
193
193
et dev (etserver running on port 2022 on both hostname and jumphost)
194
194
et dev:8000 -jport 9000 (etserver running on port 9000 on jumphost)
195
195
```
@@ -200,7 +200,7 @@ et dev:8000 -jport 9000 (etserver running on port 9000 on jumphost)
200
200
201
201
To build Eternal Terminal on Mac, the easiest way is to grab dependencies with Homebrew:
Correct the service file (see [#180](https://github.com/MisterTea/EternalTerminal/issues/180) for details).
286
288
287
-
```
289
+
```bash
288
290
sudo sed -ie "s|ExecStart=[^[:space:]]*[[:space:]]|ExecStart=$(which etserver) |" /etc/systemd/system/et.service
289
291
```
290
292
291
-
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.
293
+
Alternatively, 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.
@@ -310,11 +314,10 @@ Builder Dockerfiles are located at [deployment/](deployment/). Supported OSes: C
310
314
311
315
## Reporting issues
312
316
313
-
If you have any problems with installation or usage, please [file an issue on github](https://github.com/MisterTea/EternalTerminal/issues).
317
+
If you have any problems with installation or usage, please [file an issue on GitHub](https://github.com/MisterTea/EternalTerminal/issues).
314
318
315
319
## Developers
316
320
317
321
- Jason Gauci: https://github.com/MisterTea
0 commit comments