Skip to content
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

[FEAT]: CLI app to access host via WWW #162

Open
mareczek82 opened this issue Dec 14, 2023 · 2 comments
Open

[FEAT]: CLI app to access host via WWW #162

mareczek82 opened this issue Dec 14, 2023 · 2 comments

Comments

@mareczek82
Copy link

Feature Description

sometimes i cannot use Putty or other CLI app to access my VPS.
I tried to lunch cockpit and proxy it via cosmos, but i couldn't make it work (Oracle free tier VPS).

I think it would be very helpful to have such access via cosmos itself or app

@JasonLocklin
Copy link

I suggest and am trying to get Wetty working. It's a highly responsive terminal emulator that works behind nginx.

@JasonLocklin
Copy link

JasonLocklin commented May 22, 2024

I got it working: (replace <USER> and <HOSTNAME> -don't use localhost because docker)

{
  "services": {
    "wetty": {
      "container_name": "wetty",
      "image": "wettyoss/wetty",
      "environment": [
        "SSHHOST=<HOSTNAME>",
        "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "NODE_VERSION=18.10.0",
        "YARN_VERSION=1.22.19",
        "NODE_ENV=production",
        "SSHUSER=<USER>"
      ],
      "labels": {
        "maintainer": "[email protected]",
        "org.opencontainers.image.created": "2022-10-09T10:57:10.338Z",
        "org.opencontainers.image.description": "Terminal in browser over http/https. (Ajaxterm/Anyterm alternative, but much better)",
        "org.opencontainers.image.licenses": "MIT",
        "org.opencontainers.image.revision": "d9fb1635ba4c5a8efa9efb6b9da0a5083557f903",
        "org.opencontainers.image.source": "https://github.com/butlerx/wetty",
        "org.opencontainers.image.title": "wetty",
        "org.opencontainers.image.url": "https://github.com/butlerx/wetty",
        "org.opencontainers.image.version": "main"
      },
      "ports": [],
      "volumes": [],
      "networks": {
        "bridge": {}
      },
      "routes": null,
      "restart": "always",
      "devices": null,
      "expose": [],
      "depends_on": [],
      "tty": true,
      "stdin_open": true,
      "entrypoint": "yarn start",
      "working_dir": "/usr/src/app",
      "hostname": "wetty",
      "mac_address": "02:42:ac:11:00:04",
      "network_mode": "default",
      "healthcheck": {
        "test": null,
        "interval": 0,
        "timeout": 0,
        "retries": 0,
        "start_period": 0
      }
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants