Skip to content

Remote Terminal

uniTerm supports three remote terminal protocols: SSH, Telnet, and Mosh.

SSH

SSH (Secure Shell) is the most commonly used protocol for remote server management, providing encrypted secure connections.

Connection Parameters

ParameterDescription
HostServer IP or domain name
PortDefault 22
UsernameLogin username
AuthenticationPassword or key
PasswordRequired for password authentication
Key PathSelect private key file for key authentication
Character EncodingTerminal charset, default UTF-8. Also supports GBK, GB2312, Big5, Shift-JIS, etc.
SSH TunnelSelect an existing SSH connection as a jump host to forward traffic to the target host
Startup ScriptCommands automatically executed after the connection is established, one per line, executed sequentially

Authentication Methods

  • Password Authentication -- Enter password to log in. If the password is not saved, a terminal prompt will appear for input upon connection.
  • Key Authentication -- Select an SSH private key file (e.g. ~/.ssh/id_rsa) for passwordless login.
  • Keyboard-Interactive Authentication -- Always available as a fallback; automatically enables interactive authentication when password or key authentication fails.

SSH Tunnel

Traffic from other connections can be forwarded through an SSH tunnel via a jump host, enabling intranet penetration. After selecting an existing SSH connection as the jump host, traffic to the target host will be encrypted and forwarded through that SSH connection. Different usernames and passwords can be specified for the tunnel.

Post-Login Expect

The Expect/Send pattern supports interactive login automation by defining matching rules and send content in sequence:

  • expect -- Wait for terminal output matching this text (supports regex, case-insensitive)
  • send -- Text to send after a successful match. Supports ${password}, ${user}, and ${host} variables
  • enter -- Whether to append a carriage return after sending (default: yes)
  • timeout -- Per-step timeout (default 10 seconds, max 120 seconds)

Zmodem File Transfer

In an SSH terminal, you can directly use the rz (receive files) and sz (send files) commands to transfer files without opening the file browser. Drag-and-drop from the desktop to the terminal window for direct upload is also supported.

Zmodem

SSH Terminal Tab Operations

Tabs support drag-to-reorder and drag-to-split into panels. Right-click a tab to open a context menu:

Menu ItemDescription
Duplicate SessionDuplicate the current SSH connection and open a new tab
Open SFTPOpen the SFTP file browser on the current connection
Upload FileSend the rz -be command to the terminal to receive files remotely
Open Server MonitorOpen the server monitoring panel on the current connection
Text SearchSearch for keywords in terminal output
Export TextExport current terminal output as a text file

Telnet

Telnet is a simple plain-text remote terminal protocol, commonly used for connecting to embedded devices, network equipment, and legacy systems.

Connection Parameters

ParameterDescription
HostDevice IP or domain name
PortDefault 23
UsernameLogin username (optional, automatically sent after connection)
PasswordLogin password (optional, automatically sent after username)
Startup ScriptCommands automatically executed after the connection is established

Warning: Telnet transmits data without encryption. Use only on trusted networks.

Mosh

Mosh (Mobile Shell) is designed for high-latency and intermittent networks. Based on UDP transport, the connection does not drop when switching networks (e.g. Wi-Fi to 4G).

Connection Parameters

Same as SSH. uniTerm first connects to the server via SSH, then automatically starts mosh-server to establish a UDP session.

ParameterDescription
HostServer IP or domain name
PortSSH port, default 22
UsernameLogin username
AuthenticationPassword or key

Note: The server must have mosh-server installed before using Mosh. Mosh does not support SSH tunnels or the Expect/Send pattern.

Related