TermRoad

Proxies and environment variablesComing

Reach hosts through a SOCKS5 or HTTP proxy, and send environment variables when a session starts.

Proxies

A host or group can connect through a proxy:

  • SOCKS5, or HTTP CONNECT;
  • the proxy’s hostname and port, and a username and password if it needs them (stored in your encrypted vault like everything else);
  • None (connect directly) on a host overrides a proxy set on its group.

The proxy carries the first connection only: to the host itself, or to its first jump host. Later hops run inside SSH, so a jump host’s own proxy setting isn’t used.

If a host’s proxy is of a kind this version of the app doesn’t know (set by a newer version on another device), the host won’t connect, rather than connecting directly and bypassing the proxy you chose.

Environment variables

Choose Add variable on a host or group to send a variable, such as LANG=en_GB.UTF-8, when a session starts. A host gets the variables of all its groups too; where two set the same name, the nearest wins.

Servers only accept the variables they’re configured to. OpenSSH’s AcceptEnv setting allows LANG and LC_* by default and silently drops the rest, so to send others, the server’s administrator must add them to AcceptEnv in sshd_config.

Names use letters, digits and underscores, and don’t start with a digit. A host or group can set up to 32.