Autocomplete & Shell integration
This page explains how Autocomplete and Shell integration work in Termius, how to enable Autocomplete, and what limitations apply.
Autocomplete
Autocomplete in Termius uses data from many sources to suggest snippets, shell history commands, paths, and built-in commands with arguments. It can also detect password prompts and suggest matching Identities. You do not need to install third-party packages or dependencies to use autocomplete.
Enable autocomplete
Enable Autocomplete in one of these ways:
Open
Settings → Terminal, then turn onAutocomplete
Open the terminal side panel, click the
rocketicon, then turn onAutocomplete
Shell integration
Shell integration works in the local terminal and in supported SSH sessions. It helps Termius detect the current directory, command history, prompts, and active command state.
Termius uses that data for Autocomplete and other terminal features. In remote sessions, Termius opens additional exec channels next to the main shell channel. It uses those channels to fetch data such as paths and command history.
Command suggestions

Termius Autocomplete provides suggestions from multiple sources, including command history, file and directory paths, built-in commands and arguments, and argument descriptions when available.
Snippet suggestions

Autocomplete in Termius makes snippets more accessible. They are integrated into autocomplete suggestions, and you can quickly find and execute one without searching for it in the side terminal panel. Start typing the Snippet name or any text from its script, and Termius shows matching Snippets in the suggestion list.
Password suggestions

When Termius detects a password prompt, it suggests identities (saved combinations of username/password/key) to choose from. Learn more about Identities in Termius -> Identities.
Known limitations & system requirements
Local terminal
Shell integration for the local terminal works only with bash and zsh.
Remote connections
SSH server: OpenSSH 7.2+
Shell:
bash
In supported SSH sessions, Termius opens additional exec channels to fetch paths and command history.
Some servers reject exec channels and may drop the connection.
This often happens on network equipment or locked-down systems.
If the connection drops, turn off Autocomplete.
If you manage the server, allow at least two sessions per connection:
Open the
sshd_configfile on your serverFind
MaxSessions, then set it to2or higherSave the file
Restart the SSH server. Use
sudo systemctl restart sshorsudo service ssh restart
Last updated
Was this helpful?

