Skip to content

add wetty docs #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/services/wetty.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Wetty
created: 2024-07-16T23:52:13
modified: 2024-07-18T23:08:33
tags:
- aperture
- nomad
- docker
author:
- wizzdom
---

# Wetty - `wizzdom`

Redbrick uses [Wetty](https://github.com/butlerx/wetty) as our web terminal of choice. It is accessible at [wetty.redbrick.dcu.ie](https://wetty.redbrick.dcu.ie), [wetty.rb.dcu.ie](https://wetty.rb.dcu.ie),[term.redbrick.dcu.ie](https://term.redbrick.dcu.ie), [anyterm.redbrick.dcu.ie](https://anyterm.redbrick.dcu.ie) and [ajaxterm.redbrick.dcu.ie](https://ajaxterm.redbrick.dcu.ie).

*Why all the different domains?* - ***For legacy reasons!***

The configuration is located [here](https://github.com/redbrick/nomad/blob/master/jobs/services/wetty.hcl)

The configuration for Wetty is pretty straightforward:

- `SSHHOST` - the host that Wetty will connect to (one of the [Login](servers.md#Logging%20in) boxes), defined in [`consul`](consul.md)
- `SSHPORT` - the port used for ssh
- `BASE` - the base path for Wetty (default is `/wetty`)
- *This isn't very well documented but trust the process. It works!!*

```hcl title="Nomad"
SSHHOST={{ key "wetty/ssh/host" }}
SSHPORT=22
BASE=/
```