Skip to main content

Daily Workflow

Starting Your Day

1

Start Server (if not running as service)

Leave this running in a dedicated terminal window.
2

Start Terminal Session

First run only: Save the client ID and passkey shown.
3

Connect Client

Tip: Save this command in a script for quick access.

Ending Your Day

Simply close the client terminal. Your session stays alive! Tomorrow:
  • Server still running
  • Terminal still active
  • Just reconnect the client

Common Commands

Interactive Session

Use this for:
  • Day-to-day terminal work
  • Long-running processes
  • Remote development

One-Shot Commands

Include `r`n (carriage return + newline) for cmd.exe to execute the command.

Built-in UI Mode

Launch the interactive text-based UI for managing multiple sessions:
UI Commands:
Example Session:

SSH Bootstrap (Remote Servers)

With Tmux Integration:
This:
  1. SSHs to remote server
  2. Starts undying-terminal-terminal there (optionally inside tmux)
  3. Extracts credentials
  4. Switches to direct TCP connection
  5. Keeps session alive forever

Practical Scenarios

Scenario 1: Development Workflow

Scenario 2: Long-Running Builds

Scenario 3: Remote Administration

Scenario 4: Unstable Network Environments

Session Management

Built-in UI Multi-Session (v1.1.0+)

The easiest way to manage multiple sessions is with the built-in UI:

Traditional Multiple Sessions

Run multiple independent sessions manually:

Session Discovery

Track active sessions:

Keyboard Shortcuts

Exiting the shell (e.g., exit or Ctrl+D) will terminate the terminal process. This ends the session! Use client disconnect instead.

Advanced Features

Predictive Echo (v1.1.0+)

Enable local echo prediction for high-latency connections:
When to use:
  • Connections with >100ms latency
  • Satellite or cellular networks
  • International connections
How it works:
  • Characters appear instantly (local echo)
  • Server output reconciles with local echo
  • No duplicate characters visible

Tunnel-Only Mode (v1.1.0+)

Run port forwarding without terminal overhead:
Use cases:
  • Database tunneling
  • API proxy connections
  • Secure access to internal services
  • CI/CD pipeline integration

IPv6 Support (v1.1.0+)

Connect to IPv6 hosts:

Disconnecting vs. Exiting

Client Disconnect (Safe)

Result:
  • Session stays alive
  • Terminal keeps running
  • Can reconnect anytime

Shell Exit (Dangerous)

Result:
  • Shell terminates
  • Terminal process exits
  • Session ends
  • Must restart terminal
Best practice: Always disconnect the client, never exit the shell.

Scripting and Automation

Connection Script

Save frequently-used connections:
Usage:

Automated Commands

Monitoring and Logging

Client-Side Logging

Enable debug logging:

Check Connection Status

Tips and Tricks

When you know you’ll reconnect soon:
Better: Install as Windows service for production.
For bandwidth-constrained networks:
Rebuild and use custom binary.

Next Steps

Port Forwarding

Tunnel local and remote ports

SSH Bootstrap

Start remote sessions via SSH

Configuration

Customize server behavior

Troubleshooting

Solve common problems