2.6 Other protocols (Telnet, serial, raw, Mosh, remote PowerShell)
Translated from French; the French version prevails if the two differ.
In short. Beyond SSH, HexaConnect opens Telnet, serial port, raw TCP connection, Mosh (mobile terminal over UDP) and remote PowerShell (WinRM) sessions in terminal tabs. These tabs get the same tools as SSH: themes, macros, session log and, depending on the type, multi-exec. All these clients are built into HexaConnect, with no external tool, except remote PowerShell, which relies on the PowerShell installed on this computer.
Overview
| Type | Encryption | SSH jump host | Badge |
|---|---|---|---|
| Telnet | None (warning shown at the top) | Yes, or cloud access | TELNET |
| Serial port (COM) | Not applicable (local link) | No | SERIAL |
| Raw connection (TCP) | None (warning shown at the top) | Yes, or cloud access | RAW |
| Mosh | AES-128-OCB | No (direct UDP) | MOSH |
| Remote PowerShell (WinRM) | HTTPS recommended | Yes | — |
Telnet
- Unencrypted terminal, with a warning at the top of the tab; direct connection or through an SSH jump host.
- Negotiation of echo, terminal type and window size; the user name is typed automatically at the first “login:” prompt.
- Macros, log and multi-exec, as with SSH.
- Import of Telnet sessions from PuTTY, MobaXterm and mRemoteNG.
Serial port
- Port chosen from those on this computer; speed from 1,200 to 921,600 baud; data bits, parity, stop bits; RTS/CTS or XON/XOFF flow control.
- Tab titled, for example, “COM3 · 115200 8N1”; busy or unplugged port: clear message.
- The session stays open as long as the adapter responds (common USB adapters, such as Arduino-compatible boards); it stops on an error, an unplug or when the tab is closed.
Arduino IDE
Arduino entry in the sidebar, right after Macros.
- “Verify” and “Upload” with their progress bar; choice of board (FQBN, free entry possible with its options) and port; Ctrl+R, Ctrl+U and Ctrl+S in the editor.
- On the left: sketch files (new, open, add a file), libraries used by the last compilation, recent sketches. “Boards…” and “Libraries…” managers: search, install, uninstall.
- C++ editor, one tab per file; a compiler error opens at the right line with one click.
- At the bottom: “Output”, “Serial monitor” (baud rate, autoscroll, send with Enter using the chosen line ending) and “Plotter” (
name:valuelines, one curve per name). - During an upload, the monitor releases the port and the port stays reserved; the monitor then reopens, on the new port if the board changed port, even after a cancellation or an error.
Raw connection
- TCP without Telnet negotiation, for device consoles and terminal servers.
- Direct, through an SSH jump host or through cloud access; “no encryption” warning at the top.
For the serial port and the raw connection: choice of what the Enter key sends (CR, CR+LF, LF), local echo on demand, theme, startup macro, session log.
Mosh (mobile terminal)
- “Mosh (mobile terminal, UDP)” type, with no external mosh client: the connection is bootstrapped over SSH (same keys, host key verified), which starts
mosh-serveron the server, then the terminal switches to encrypted UDP (AES-128-OCB). - The session survives network changes and sleep; the status bar shows “Mosh link interrupted for N s: resumes automatically as soon as the network is back.” when the server goes silent.
- Session settings: UDP ports (for example 60001 or a range 60000:60010), path to
mosh-server. mosh-servermust be installed on the server. Mosh goes directly to the server over UDP: SSH jump host and cloud access are refused, with an explanation.- Mosh predictive echo (display before the server responds) is not offered in this version.
Remote PowerShell (WinRM)
- “Remote PowerShell (WinRM, Windows server)” type: terminal tab like SSH (macros, multi-exec, session log, theme).
- Host, HTTPS 5986 (recommended) or HTTP 5985; “Negotiate (Kerberos, otherwise NTLM)”, “Kerberos only”, “WinRM default” or “Basic (HTTPS only, local accounts)” authentication; current Windows account or credentials; SSH jump host.
- A local PowerShell (PowerShell 7 if installed, otherwise Windows PowerShell) opens the remote session. The password is never passed on the command line: HexaConnect types it into a masked prompt. It can be saved in Windows Credential Manager.
- When the remote session ends, the local PowerShell closes too; a connection failure is explained.
- HexaConnect never changes
TrustedHostsor this computer’s WinRM configuration. - Limitations: Kerberos requires the host name and a domain-joined computer (through a jump host, Negotiate falls back to NTLM); double hop (CredSSP) isn’t supported; copying files through the session and PowerShell over SSH aren’t offered.
Plans
Required plan: Discovery. All these types are included in the free plan (limit of 5 sessions open at the same time). An Enterprise policy can refuse Telnet and raw connections (encryption required) or forbid session types.