You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
888 B
28 lines
888 B
5 years ago
|
# Dockerized Version
|
||
|
|
||
|
WeTTy can be run from a container to ssh to a remote host or the host system.
|
||
|
This is handy for quick deployments. Just modify `docker-compose.yml` for your
|
||
|
host and run:
|
||
|
|
||
|
```sh
|
||
|
$ docker-compose up -d
|
||
|
```
|
||
|
|
||
|
This will start 2 containers, one will be WeTTy container running ssh client the
|
||
|
other will be a container running ssh server.
|
||
|
|
||
|
Visit the appropriate URL in your browser
|
||
|
(`[localhost|$(boot2docker ip)]:PORT`).
|
||
|
|
||
|
The default username is `term` and the password is `term`, if you did not modify
|
||
|
`SSHHOST`
|
||
|
|
||
|
In the docker version all flags can be accessed as environment variables such as
|
||
|
`SSHHOST` or `SSHPORT`.
|
||
|
|
||
|
If you dont want to build the image yourself just remove the line `build; .`
|
||
|
|
||
|
If you wish to use the WeTTy container in prod just modify the WeTTy container
|
||
|
to have `SSHHOST` point to the server you want to ssh to and remove the ssh
|
||
|
server container.
|