2.2 Sessions and terminal

Translated from French; the French version prevails if the two differ.

In short. A session is a saved connection (SSH, local terminal, remote desktop, files, connector…) stored in the tree in the left column. This page covers SSH sessions, their authentication, host key verification, the local terminal and its shell profiles, prompt customization (oh-my-zsh, oh-my-posh, themes, fonts), quick connect and importing from other tools.

Create a session

“New session” (Ctrl+Shift+N) opens a launcher below the button. It is available from the toolbar, the sessions panel, the home screen and a folder's “New session here”, which preselects that folder.

Full-form fields common to SSH sessions:

FieldPurpose
Name, folder, tags, notesOrganization and search; notes can span several lines.
Host, port, userCan be inherited from the folder (the source is shown).
AuthenticationPassword, private key, agent, keyboard-interactive (see below).
Remember passwordUnchecked by default; otherwise the password is asked for at each connection.
Jump host, cloud access, outbound proxySee 2.4.
Setup tunnelSSH tunnel or VPN started before connecting, inherited from the folder (SSH and SFTP sessions). See 2.4.
X11 forwardingSee 2.5.
Terminal themeSpecific to the session, or inherited from the folder.
Startup macroSee 2.7.

A session's menu offers, among others, Open, “Open in SFTP”, Edit, Duplicate, Favorite and Delete.

SSH authentication

MethodDetails
PasswordAsked for when connecting, or remembered in Windows Credential Manager if the box is checked; asked for again if it is rejected.
Private keyOpenSSH key file (ed25519, ECDSA, RSA), with a passphrase if needed. A default key can be set (Settings → SSH and keys); the key is never copied.
SSH agentKeys from the Windows ssh-agent service (or from any agent that exposes the same pipe, such as 1Password), offered after the session's key and before the password. The private key never leaves the agent; RSA is signed with SHA-2. Pageant (its own protocol) is not supported.
Keyboard-interactiveOne-time codes and multiple questions asked by the server.

Keepalive is sent every 30 seconds. Agent forwarding to the server is not available in this version.

Host keys

The terminal

Split session

Right-click on a session's background

The menu opens where you click, in every pane:

ItemEffect
SplitIn all four directions.
CopyOnly with a selection.
PastePastes at the prompt (warning if several lines).
Encode/Decode ▸Only with a selection. The detected decoding comes first, then Base64, URL, Hex, HTML, JWT, gzip, JSON and hashes. The result is shown, then copied or written at the prompt; “Open in Tools” is offered.
Proxy ▸None, SOCKS from a dynamic tunnel, or a proxy you enter, then reconnection (see 2.4).
Tunnel ▸“Go through…” a tunnel or a VPN, or “Create a tunnel from this session…” with a prefilled form.

Proxy and Tunnel apply only to a saved SSH session.

Local terminal and shell profiles

“Local terminal” (Ctrl+Shift+T) opens a shell on this computer in a tab. HexaConnect detects the installed shells and shows only those:

The shell opened by the shortcut is chosen in Settings → Terminal and shell (“Automatic” = PowerShell).

Customization: oh-my-zsh, oh-my-posh, themes, fonts

Bundled glyph font

A “Nerd Font” (Cascadia Code NF) is bundled: Powerline symbols and the icons of the agnoster, powerlevel10k, oh-my-posh or starship themes display without installing anything. Any other installed monospaced font can be chosen. Ligatures are not available.

Color themes

“Custom shell” wizard

Quick connect

Import sessions

Settings → “Import sessions”, or the “Import” button in the sessions panel.

SourceWhat is imported
OpenSSH (~/.ssh/config or another file)Hosts, users, ports, IdentityFile, ProxyJump (including chains) and ProxyCommand ssh -W as jump hosts, LocalForward / RemoteForward / DynamicForward as tunnels; OpenSSH rules are respected (first value wins, Host *, wildcards, Include).
PuTTY (registry or .reg file)SSH and Telnet sessions, forwardings, proxy.
MobaXterm (MobaXterm.ini)SSH, Telnet, RDP, VNC sessions and their folders.
mRemoteNG (confCons.xml)SSH, Telnet, RDP, VNC sessions and their folders.
Remote Desktop Connection (.rdp)RDP sessions.

Plans

Required plan: Discovery. All the features on this page are available in the free plan, up to 5 sessions open at the same time (unlimited in Pro and Enterprise). An Enterprise policy can forbid remembering passwords or certain session types (see 2.10).