Skip to content

Commands Reference

Command Overview

CommandDescription
shield start [port]Launch Web management dashboard (default port 8181)
shield ssh [address]Create an SSH tunnel
shield rdp [address]Create an RDP tunnel
shield vnc [address]Create a VNC tunnel
shield http [address]Create an HTTP tunnel
shield https [address]Create an HTTPS tunnel
shield telnet [address]Create a Telnet tunnel
shield install [--port]Install as system service (auto-start on boot)
shield uninstallUninstall system service
shield cleanClear local credential cache

Address Format

[address] supports the following formats:

FormatExampleDescription
Omittedshield sshUses 127.0.0.1 + protocol default port
Port onlyshield ssh 2222Uses 127.0.0.1 + specified port
IP onlyshield ssh 10.0.0.5Uses specified IP + protocol default port
Full addressshield ssh 10.0.0.5:2222Uses specified IP + specified port

Default Ports

ProtocolDefault Port
SSH22
RDP3389
VNC5900
HTTP80
HTTPS443
Telnet23

Global Flags

FlagDescriptionExample
--usernameTarget service username--username root
--auth-passTarget service password--auth-pass mypass
--serverCustom server address--server https://my.server/raas

SSH-Specific Flags

FlagDescriptionExample
--private-keySSH private key file path--private-key ~/.ssh/id_rsa
--passphrasePrivate key passphrase--passphrase mypass
--enable-sftpEnable SFTP file transfer--enable-sftp

Access Mode Flags

FlagDescriptionExample
--visableVisible mode (default)--visable
--visable=<node>Visible mode with specific node--visable=HK
--invisibleInvisible mode, requires auth code--invisible

Service Management

CommandDescription
shield installInstall as system service with default port 8181
shield install --port 8182Install with custom port
shield uninstallRemove system service

Install Flags

FlagDefaultDescription
--port8181Web UI port number

The install command automatically detects port conflicts and suggests available alternatives. See System Service Installation for platform-specific details.

Examples

bash
# Simplest usage
shield ssh

# Full parameters
shield ssh 10.0.0.5:2222 --username root --auth-pass mypass --enable-sftp

# Web UI mode
shield start
shield start 9090

# Invisible mode RDP
shield rdp 10.0.0.5 --username Administrator --invisible

# Clear cache
shield clean

# Install as system service
shield install
shield install --port 8182

# Uninstall service
shield uninstall