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.
- Search at the top (“ssh”, “kafka”, “serial”…, ignoring accents and case); Enter opens the first result.
- Categories on the left, with their count: All types, Favorites, Recent, Terminal, Remote desktop, Files, Containers, Data, Identity. Available connectors are sorted into them.
- Tiles with an icon, a description and the Pro mark; the star pins a type to favorites, shown first under “All types”. Favorites and recent types are kept from one launch to the next.
- Imports at the top of the list:
~/.ssh/config, MobaXterm, PuTTY, mRemoteNG, Kubernetes contexts (see “Import sessions”). - Choosing a type shows the quick form inside the launcher: name, host, account, port, key (SSH), COM port and speed (serial), folder. “Save”, “Save and open”, or “More options…” for the full form, prefilled. Connectors and S3, which have their own settings and secrets, go through their full form (“Continue…”).
Full-form fields common to SSH sessions:
| Field | Purpose |
|---|---|
| Name, folder, tags, notes | Organization and search; notes can span several lines. |
| Host, port, user | Can be inherited from the folder (the source is shown). |
| Authentication | Password, private key, agent, keyboard-interactive (see below). |
| Remember password | Unchecked by default; otherwise the password is asked for at each connection. |
| Jump host, cloud access, outbound proxy | See 2.4. |
| Setup tunnel | SSH tunnel or VPN started before connecting, inherited from the folder (SSH and SFTP sessions). See 2.4. |
| X11 forwarding | See 2.5. |
| Terminal theme | Specific to the session, or inherited from the folder. |
| Startup macro | See 2.7. |
A session's menu offers, among others, Open, “Open in SFTP”, Edit, Duplicate, Favorite and Delete.
SSH authentication
| Method | Details |
|---|---|
| Password | Asked for when connecting, or remembered in Windows Credential Manager if the box is checked; asked for again if it is rejected. |
| Private key | OpenSSH 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 agent | Keys 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-interactive | One-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
- Trust on first use: on the first connection, the SHA-256 fingerprint of the server's key is shown and must be approved.
- Approved keys are kept in HexaConnect's store; OpenSSH's
known_hostsfile is also read (names,[host]:port, hashed entries, wildcards,@revoked) but never modified. - Changed key = blocking screen showing the old and new fingerprints. The key can only be replaced by retyping the host name; there is no one-click bypass.
- With the window closed, a changed key triggers a critical alert, shown as a Windows notification.
- Verification cannot be turned off. Settings → Known host keys lists the approved keys (search, removal).
The terminal
- xterm-256color emulation, 24-bit color, mouse, alternate screen (vim, htop, tmux), clickable links, size sent to the server.
- Full Unicode: color emoji, composed sequences (families, skin tones) at the right width, with no cursor offset.
- Adjustable scrollback buffer (10,000 lines by default), search with Ctrl+Shift+F.
- Copy on select (adjustable); right-click opens the session menu, Shift+right-click pastes (option “Shift+right-click pastes”); warning before pasting several lines.
- Full French keyboard support (AltGr, dead keys).
- Session logs (off by default): what the terminals display is written as plain text, one file per session. Keystrokes are never written, but a secret displayed on screen would be.
Split session
- The Split button in the toolbar splits the active pane right, left, down or up, up to 6 panes. The same menu docks the API request next to the sessions.
- Each pane has its own tab bar and “+”. Anything you open (list, “+”, quick connect) goes to the active pane, shown by an accent-colored border.
- A new pane reopens the same saved session or, failing that, the default local terminal. An emptied pane closes; right-clicking a tab brings it back to the main pane.
- Reconnect, Proxy or Tunnel in a secondary pane keeps the session where it is.
- Limits: RDP, VNC, explorers and SFTP stay in the main pane; the layout is not kept from one launch to the next.
Right-click on a session's background
The menu opens where you click, in every pane:
| Item | Effect |
|---|---|
| Split | In all four directions. |
| Copy | Only with a selection. |
| Paste | Pastes 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:
- PowerShell 7 and Windows PowerShell 5.1;
- Command Prompt (cmd);
- WSL, one entry per distribution;
- Git Bash, MSYS2, Cygwin.
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
- 14 bundled themes, including two “matched” to the app's light or dark theme, Campbell, One Half, Solarized, Dracula, Nord, Gruvbox, Catppuccin, Tokyo Night and “Production” with a red background.
- Import of Windows Terminal color schemes (JSON, including
settings.json) and iTerm2 color schemes (.itermcolors). - Theme per session or per folder (inherited): for example, the whole “Production” folder with a red background.
- “Appearance” menu: instant preview on the tab, then “Save this theme for “<session>””.
“Custom shell” wizard
- For zsh (local under WSL, MSYS2 or Cygwin, or on an SSH session): installs oh-my-zsh, the powerlevel10k theme and common plugins. The script adapts to the package manager (apt, dnf, yum, pacman, zypper, apk, brew), backs up
~/.zshrcand never changes the account's default shell. - For PowerShell: oh-my-posh (installed with winget, profile backed up). This is the no-WSL route for a locked-down computer.
- The script is always shown before it runs, then runs in a visible terminal; never a silent installation.
- Settings → Terminal and shell shows the prompt status of each shell (“Ready”, “Standard prompt”) and opens the wizard.
Quick connect
- Typing
user@host:portin the toolbar (Ctrl+Shift+K) opens an SSH session without saving it. The host key is verified just as for a saved session. - Other schemes (
rdp://,vnc://,sftp://) are not recognized by quick connect in this version.
Import sessions
Settings → “Import sessions”, or the “Import” button in the sessions panel.
| Source | What 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. |
- A preview comes before anything is written: sessions to check, detected duplicates (same host, port and user, not recreated), and what is not imported and why.
- Everything lands in an “Import <source> (date)” folder; imported tunnels are created stopped.
- No password is imported from another tool (MobaXterm and mRemoteNG passwords are only counted).
- Session export (JSON,
~/.ssh/config,.rdp) is planned.
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).