Skip to main content

What is the Built-in UI?

The built-in UI provides an interactive text-based interface for managing multiple Undying Terminal sessions from a single client instance. Before v1.1.0: Each session required a separate terminal window and manual credential tracking. With v1.1.0+: Launch the UI and manage all your sessions from one place.

Launching the UI

You’ll see the UI prompt:

UI Commands

add - Create a Session Profile

Create a named profile with connection details:
Parameters:
  • name - Unique profile name
  • host - Server hostname or IP address
  • port - Server port (usually 2022)
  • client_id - Client ID from terminal
  • passkey - Passkey from terminal

set-tunnel - Configure Port Forwarding

Add tunnel specifications to a profile:
Tunnel Format: local_port:remote_host:remote_port

set-flag - Configure Options

Enable/disable session options:
Available Flags:
  • noexit - Keep session alive after command execution
  • predictive-echo - Enable local echo for high-latency connections
  • tunnel-only - Port forwarding without terminal (v1.1.0+)

start - Launch a Session

Start a session in a new console window:
Each session runs in its own console window. Switch between sessions via your taskbar or Alt+Tab.

stop - Stop a Running Session

Gracefully terminate a session:
This terminates the process. Any running commands in that session will be interrupted.

remove - Delete a Profile

Remove a profile from the UI:
You must stop a session before removing its profile.

list - Show All Profiles

View all profiles and their status:

help - Show Available Commands

quit - Exit the UI

Quitting the UI does not stop running sessions. They continue in their own windows.

Complete Workflow Example

Scenario: Managing dev, staging, and production environments.

Tips and Best Practices

Profile Naming

Use clear, consistent naming:

Secure Credential Storage

The UI stores credentials in memory only (not on disk). For security:
  1. Use environment variables for sensitive data:
  1. Consider a password manager integration:

Session Persistence

Running sessions survive UI restart:
Profiles are stored in memory and lost when the UI exits. For persistent profiles, consider creating a startup script.

Automation with Scripts

Create a PowerShell script to pre-populate profiles:

Comparison: UI vs Direct Connection

Troubleshooting

”profile is not running”

Cause: Trying to stop a session that isn’t active. Solution: Check list to see which profiles are running.

”stop failed: TerminateProcess error 5”

Cause: Access denied (session may have already exited or requires elevated permissions). Solution:
  • Check if the session window closed manually
  • Run the UI as Administrator if needed

”stop session before removing”

Cause: Attempting to remove a profile with a running session. Solution:

Next Steps

Basic Usage

Learn more about session management

SSH Bootstrap

Connect to remote servers

Port Forwarding

Configure tunnels for your profiles

Tmux Integration

Combine with tmux for maximum persistence