Skip to content

Instantly share code, notes, and snippets.

@slovenec88
Last active February 6, 2022 18:59
Show Gist options
  • Save slovenec88/ae16789ee2d0c7136db6390a1b3bf82c to your computer and use it in GitHub Desktop.
Save slovenec88/ae16789ee2d0c7136db6390a1b3bf82c to your computer and use it in GitHub Desktop.
Telebit.cloud https://telebit.cloud/ some helpful insights for ssh, putty and making it persistent

I've had some dificulites using the ssh, putty and making it persistent, here are my findings.

Make it a persistent service. It will survive reboots and keep your proxy alive.

sudo nano /etc/systemd/system/telebit.service

[Unit]
Description=Telebit
After=network-online.target

[Service]
Type=simple
User=user
Group=group
UMask=007

ExecStart=/home/dir/telebit daemon --config "/home/homedir/.config/telebit/telebitd.yml"

Restart=on-failure

TimeoutStopSec=300

[Install]
WantedBy=multi-user.target

Connect via terminal

Download provided sclient file from telebit.cloud webpage

connect to ssh
ssh -o ProxyCommand="fullurl\sclient.exe %h" user@happy-octopus-01.telebit.io

FWD local site
ssh -o ProxyCommand="fullurl\sclient.exe %h" user@happy-octopus-01.telebit.io -L 8888:192.168.86.27:80

Connect via PuTTY

Under Connection -> Proxy
Proxy type: Local
Telnet command: sclient.exe %host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment