linkterm

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2025 License: MIT

README

LinkTerm

A powerful WebSocket-based terminal sharing tool that allows you to securely expose and share your terminal (TTY) over any network, even through firewalls and NATs.

Features

  • Server mode: Expose your shell securely to clients through WebSockets
  • Client mode: Connect to remote terminals with interactive access
  • Intranet penetration via LinkSocks: Share terminals through firewalls/NAT using secure tunneling

Installation

LinkTerm can be installed by:

go install github.com/linksocks/linkterm/cmd/linkterm@latest

You can also download pre-built binaries for your architecture from the releases page.

LinkTerm is also available via Docker:

docker run --rm -it jackzzs/linkterm --help

Usage

The application supports both direct connections and tunneled connections through LinkSocks:

Share your terminal through any network/firewall:

# On the server (machine sharing the terminal):
linkterm server -t YOUR_TOKEN

# On the client (machine accessing the terminal):
linkterm client -t YOUR_TOKEN

This method works everywhere - no port forwarding or firewall configuration needed!

You should use a complex token, as anyone holding the token can connect to your terminal.

openssl rand -hex 16
Direct Connection Mode

For local network or when you have direct access:

Server Mode
# Basic usage
./linkterm server --port 8080 --host localhost

# Accept connections from any interface
./linkterm server --port 8080 --host 0.0.0.0

# Specify a custom shell
./linkterm server --shell /bin/zsh
Client Mode
# Connect to local server
./linkterm client --url ws://localhost:8080

# Connect to remote server
./linkterm client --url ws://example.com:8080

# Use with proxy
./linkterm client --proxy socks5://proxy.example.com:1080

License

MIT

Directories

Path Synopsis
cmd
wsterm command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL