Overview
Netcatty provides extensive host configuration options beyond basic connection details. This guide covers advanced settings including environment variables, startup commands, protocol selection, and host-specific customizations.Environment Variables
Set custom environment variables that will be exported in your SSH session.Configuration
Array of environment variable objects
Example
UI Location
- Open Host Details panel
- Navigate to Advanced section
- Click Environment Variables
- Add variables using the
+button
Environment variables are exported after connection but before the startup command runs.
Startup Commands
Execute commands automatically after connecting to a host.Command or script to run after connection
Use Cases
- Change to a specific directory
- Source profile files
- Display system information
- Activate virtual environments
- Start monitoring tools
Examples
Change Directory and Show StatusUI Location
- Open Host Details panel
- Find Startup Command field
- Enter your command(s)
- Multi-line commands are supported
Protocol Configuration
Netcatty supports multiple protocols per host with individual port configurations.Available Protocols
Default protocol for this host
Multi-Protocol Support
Configure multiple protocols for quick switching
Example Configuration
Mosh Configuration
Mobile Shell provides better connectivity over unstable networks.Enable Mosh support
Custom path to mosh-server executable on remote host
Example
Mosh requires
mosh-server to be installed on the remote host. The default path is usually /usr/bin/mosh-server.Serial Port Configuration
Connect to devices via serial ports (for network equipment, embedded systems, etc.).Serial port connection settings
Example: Cisco Switch Connection
Character Encoding
Character encoding for the terminal session (e.g.,
UTF-8, ISO-8859-1)Legacy Algorithm Support
Enable support for older SSH algorithms (for network equipment, legacy servers).Enable legacy SSH key exchange and cipher algorithms
Font Customization
Override the global terminal font settings per host.Terminal font family for this host
Terminal font size in points for this host
Example
Theme Override
Terminal theme ID to use for this host
Example
netcatty-dark, netcatty-light, dracula, monokai, solarized-dark, solarized-light, nord-dark, tokyo-night, and many more.
Distribution Detection
Auto-detected Linux distribution ID (e.g.,
ubuntu, debian, centos)Complete Configuration Example
Best Practices
Environment Variables
Environment Variables
- Keep sensitive values out of environment variables
- Use consistent naming conventions
- Document required variables for team members
Startup Commands
Startup Commands
- Keep commands lightweight to avoid connection delays
- Use
&&to chain commands that depend on each other - Avoid interactive prompts in startup commands
Protocol Selection
Protocol Selection
- Use SSH for secure connections
- Enable Mosh for unstable networks (WiFi, mobile)
- Use Telnet only for legacy equipment in trusted networks
Related Resources
Authentication
Configure SSH keys, passwords, and certificates
Keyword Highlighting
Customize host-specific highlight rules
Custom Themes
Create and apply custom terminal themes
Proxy & Jump Hosts
Configure proxy servers and bastion hosts
