In Termius, hosts are essentially saved and named connection strings that you can double-click or tap to execute. They save you from having to provide connection parameters every time you want to start a session – you need to provide them only once when adding a host entry. Besides those parameters, hosts store other info, e.g. a preferred color scheme or startup snippet.

Add a host

If you're going to authenticate using an SSH key, it needs to be imported to Termius. You can do it on the Keychain screen or when adding a host. If you're using the mobile Termius app, please, import the key from Keychain before following the instructions below.

  1. On the Hosts screen, click Add > New Host.
  2. In the Label field, provide a name for the host (for your reference).
  3. In the Address field, specify the server name / IP address.
  4. For a Mosh or Telnet connection, enable Mosh / Telnet.
  5. In the Port field, specify the port you'll be connecting to.
  6. In the Username field, specify the name of the account on the remote machine.
  7. For password authentication, fill in the Password field.
  8. For key authentication, click Keys and then select a key from your imported keys, or click + Key to import one and use it for this connection.
  9. Click ➔ at the top right to hide the host details.
    ezgif-3-e99dc0f9b9.gif
  1. On the Hosts screen, tap + and then New host.
  2. In the Alias field, provide a name for the host (for your reference).
  3. In the Hostname field, specify the server name / IP address.
  4. For a Mosh or Telnet connection, enable Mosh / Telnet.
  5. In the Port field, specify the port you'll be connecting to.
  6. In the Username field, specify the name of the account on the remote machine.
  7. For password authentication, fill in the Password field.
  8. For key authentication, click Keys and then select a key from your imported keys.
  9. Tap Save at the top right to save the changes.
  10. ezgif-2-b3e6430bdf.gif
  1. On the Hosts screen, tap + and then New host.
  2. In the Alias field, provide a name for the host (for your reference).
  3. In the Hostname or IP address field, specify the server name / IP address.
  4. For a Mosh or Telnet connection, enable Mosh / Telnet.
  5. In the Port field, specify the port you'll be connecting to.
  6. In the Username field, specify the name of the account on the remote machine.
  7. For password authentication, fill in the Password field.
  8. For key authentication, click Keys and then select a key from your imported keys.
  9. Tap ✔️ at the top right to save the changes.
  10. 16503064141611279102845090861478.gif

When adding a host, you'll notice that some additional parameters can be specified, such as a group, tag and more. The section below describes what those parameters mean.

Groups

Hosts can be added to groups – for categorization or if you want the hosts to inherit a group's properties, which can be almost anything, e.g. username, password, port. All of a host's non-explicitly specified parameters will inherit their values from the group where the host is placed. Click to read more about groups.

ezgif-1-eb4e700852.gif

Tags

Tags are intended to help you navigate the Hosts section of Termius. You can mark hosts with tags and search / filter by those tags later, when need be. Click to see more about tags.

ezgif-1-e1ad1a3624.gif

Backspace as CTRL + H

Enable this option for shells not recognizing the Backspace key.

Screenshot_2022-04-19_at_21.07.56.png

Identities

An identity consists of a user name, password, and key and is handy when you have multiple hosts with the same credentials. Click to learn more about identities.

ezgif-2-0c91e74b1d.gif

Startup snippet

A startup snippet is a snippet that is configured to auto-run upon connection. Snippets are saved blocks of commands that you can run with a click or tap, send to multiple servers and link with hosts, i.e. use them as startup snippets. Continue reading about snippets.

ezgif-3-a7c931d891.gif

SSH Agent forwarding

This option adds the host's private key to the SSH agent of Termius and forwards the agent to the remote server when you connect to it. This allows you to use the ssh -A command and the host's private key, or any other key in the agent, for authenticating on a more distant server.

Screenshot_2022-04-19_at_22.28.40.png

Host chaining

With host chaining you can connect to SSH hosts that require you first to connect to another, intermediary, SSH server, such as bastion server or jump box. Host chaining is similar to the -J argument or ProxyJump option, which are available in OpenSSH. Continue reading.

ezgif-4-ea13f8dcac.gif

Proxy

This setting lets you access SSH servers through an HTTP or SOCKS4 / SOCKS5 proxy.

ezgif-2-b28b2eefba.gif

Color themes

You can set a theme for the current host and set a theme for all new hosts. A theme for all new hosts can be selected via Preferences > Terminal in the desktop app and Settings in the mobile Termius apps.

Screenshot_2022-04-19_at_22.47.23.png

Environment variables

You can add or replace variables in the environment you're connecting to. Before you pass a variable, allow the server to receive it by, in the case of an OpenSSH server, enabling the 'AcceptEnv' option in sshd_config and entering the name of the variable or a pattern, e.g. LC_*

img-_2.png

Connect to a host

To connect to the server represented by a host, double-click or tap it.

You can also connect to a group (all the hosts in it) or to multiple selected hosts or/and groups.

To connect to a single group, right-click it and choose Connect.

To connect to multiple hosts or/and groups:

  1. Select them.
  2. Right-click any selected item and click Connect.
    ezgif-5-e2629f5754.gif

In the Android app, tap the icon of each host / group you want to connect to, then tap and Connect.

In the iOS app, tap Select at the top right, select each host / group you want to connect to and tap n_connect_iOS_light.png

Local host discovery (mobile)

Local host discovery is available from the Terminals screen on iOS and Android.

Tap the search field, then tap Discover Local Hosts at the bottom of the screen to be presented with a list of local hosts that have an active SSH or Telnet service.

ezgif-4-39def76bb6.gif

Once you connect to a host you've discovered, you can add it as a host entry.

Next steps

Once you add a few hosts, you'll probably want to add some groups, which can help you to organize the data.

If you're wondering how to import data (sessions, servers) from another tool instead of adding the hosts manually, follow this link to learn about the available options.

Add comment

Please sign in to leave a comment.