Skip to content

sshwiftly

Connect to machines using ssh (telnet) using this app via browser.

github project

docker-compose.yml

YAML
version: "3.8"
services:
  sshwifty:
#    image: niruix/sshwifty:latest
    image: niruix/sshwifty:0.3.7-beta-release
    container_name: sshwifty
    ports:
      - 8182:8182
    user: "1000:1000"
    stdin_open: true
    tty: true
    volumes:
      - /home/user/docker/sshwifty/config:/home/sshwifty/.config
      - /home/user/.ssh/:/home/user/.ssh/

I've excluded env variables cause everything is in sshwifty.conf.json

Env var pointing to where to sshwifty.conf.json is garbage, so just put it in volume and let it mount to expected location.

sshwifty.conf.json

JSON
{
  "HostName": "",
  "SharedKey": "Password123",
  "DialTimeout": 5,
  "Socks5": "",
  "Socks5User": "",
  "Socks5Password": "",
  "Servers": [
    {
      "ListenInterface": "0.0.0.0",
      "ListenPort": 8182,
      "InitialTimeout": 3,
      "ReadTimeout": 60,
      "WriteTimeout": 60,
      "HeartbeatTimeout": 20,
      "ReadDelay": 10,
      "WriteDelay": 10,
      "TLSCertificateFile": "",
      "TLSCertificateKeyFile": "",
      "ServerMessage": "This is Prive Connection. If you see this means I am fucked. Pease be nice! :|"
    }
  ],
  "Presets": [
    {
      "Title": "contabo-vm1",
      "Type": "SSH",
      "Host": "1xx.9x.xxx.xxx:2222",
      "Meta": {
        "User": "user",
        "Encoding": "utf-8",
        "Private Key": "file:///home/user/.ssh/id_ed25519",
        "Authentication": "Private Key",
        "Fingerprint": "SHA256:/vjdb59+FWICKxxxxxxxxxVMuTALLs442mQfH7w"
      }
    },
    {
      "Title": "contabo-master",
      "Type": "SSH",
      "Host": "1xx.8x.xxx.xxx:221",
      "Meta": {
        "User": "ubuntu",
        "Encoding": "utf-8",
        "Private Key": "file:///home/user/.ssh/id_ed25519",
        "Authentication": "Private Key",
        "Fingerprint": "SHA256:M7u3xxxxxxxxvrwIqA/7d90fNWoYvJ8dc"
      }
    }

  ],
  "OnlyAllowPresetRemotes": false
}