https://github.com/dwb/trias
A nice way to HTTP proxy over SSH in your shell.
https://github.com/dwb/trias
kubernetes proxy shell ssh tool
Last synced: 2 months ago
JSON representation
A nice way to HTTP proxy over SSH in your shell.
- Host: GitHub
- URL: https://github.com/dwb/trias
- Owner: dwb
- Created: 2016-11-02T13:39:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-04T12:23:55.000Z (over 9 years ago)
- Last Synced: 2025-07-14T19:36:32.322Z (11 months ago)
- Topics: kubernetes, proxy, shell, ssh, tool
- Language: Go
- Size: 2.93 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Trias
Sets up an SSH tunnel, a HTTP(S) proxy that connects through that tunnel, and starts a sub-shell with the environment set such that HTTP clients will use the proxy. You don't have to worry about local port numbers or anything.
Start with a profile name, like:
```
trias staging
```
where before you've set this profile up in its config file at `~/.config/trias.json`:
```json
{
"profiles": {
"staging": {
"host": "10.1.1.1",
"user": "joebloggs"
}
}
}
```
An empty user will use your local user name, as standard `ssh`.
The sub-shell will be started with `TRIAS_PROFILE` set to the name of the profile used, so your shell startup script could pick this up and make your prompt fancy or something.