SSH, serial and Telnet for network engineers: a working setup
Short answer. Network gear needs more from a terminal than servers do: a serial console with a real BREAK, Telnet for console servers and old boxes, legacy SSH algorithms switched on per device (never globally), a way to run one command on many devices that starts with a single canary, session logs that are on before you need them, and SCP when the device refuses SFTP.
A sysadmin's SSH client assumes a Linux box on the other end: a shell, SFTP, a modern OpenSSH. Network devices break each of those assumptions. The switch you're rescuing has no IP address yet. The firewall in the branch office speaks an SSH dialect from 2012. The router accepts SCP but answers SFTP with "subsystem request failed". And the change you're about to make can cut off the very session you're typing it into.
This guide walks through the setup that works for that kind of day, with the commands and settings you'll actually type.
Serial consoles: the cable for when nothing else works
The console port is how you configure a box out of the box, recover a password, and watch it boot after a bad upgrade. Cisco's own troubleshooting note gives the settings that fit most gear: 9600 bps, 8 data bits, no parity, 1 stop bit, no flow control [1]. People shorten that to "9600 8N1". If you get garbage, try 115200 next; some platforms ship with it, and someone may have changed the speed.
The adapter is where most of the lost time goes:
- macOS: use the
/dev/cu.usbserial-…device, not/dev/tty.usbserial-…. Thetty.one waits for a carrier signal that a console port never sends, so the session just hangs. - Linux: the adapter is usually
/dev/ttyUSB0, or/dev/ttyACM0for USB consoles built into the device. "Permission denied" means your user isn't in the group that owns it:dialouton Debian and Ubuntu,uucpon Arch. Add yourself, then log out and back in. - Windows: it's a COM port, and the number changes when you plug into another USB port. Check Device Manager before blaming the cable.
BREAK matters more than it looks. On many routers a BREAK during boot drops you into the ROM monitor, which is where password recovery starts. A terminal that can't send a proper BREAK (a line condition, not a character) leaves you with a box you can't get into.
Telnet still exists, so contain it
You'll meet Telnet on console servers, on lab emulators, and on equipment older than some of your colleagues. It sends everything, passwords included, in clear text. That's acceptable on an isolated management network or a lab on your own machine. It isn't acceptable across an office LAN.
Practical rules: reach Telnet-only devices through a jump host on the management network rather than directly; make the tab say "not encrypted" so nobody mistakes it for SSH; and never reuse a password on a Telnet device that you also use anywhere encrypted.
Old SSH on old gear
Modern OpenSSH turns off algorithms that old devices still need. Since OpenSSH 8.8 (26 September 2021), RSA signatures with SHA-1 (ssh-rsa) are disabled by default [2], and older key exchanges were dropped before that. The result is a refusal before you ever see a login prompt:
Unable to negotiate with 192.0.2.50 port 22: no matching key exchange method found.
Their offer: diffie-hellman-group1-sha1
The fix is to add the old algorithm for that host only. The + appends it to the default list instead of replacing the list, so modern algorithms are still preferred [3]:
Host branch-fw-01
HostName 192.0.2.50
KexAlgorithms +diffie-hellman-group1-sha1
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
Don't put that under Host *. You'd be weakening every connection to fix one device. OpenSSH itself calls group1 weak and says re-enabling these is a stopgap until the device is upgraded [3]. Keep a list of the devices that need it; it's also your upgrade list.
Turn off the pager before you capture anything
Network CLIs page long output with --More--, which breaks copying, logging and scripts. Turn it off for the session: terminal length 0 on Cisco IOS and similar, set cli screen-length 0 on Junos, or pipe a single command through | no-more on Junos. If your terminal can send a command after login, put the pager command there.
One command on many devices: canary first
Sooner or later you need to check or change the same thing on forty switches. There are two very different tools for that, and mixing them up is how outages start.
- Broadcast typing sends your keystrokes to several open sessions at once. It's handy for interactive work on two or three similar boxes. It's dangerous for changes: you don't see the forty outputs, and a typo goes everywhere at once.
- Run on N hosts sends one command to a list and collects the results per device. This is what you want for changes, as long as it starts small.
Freeze the target list before you start, so an edit to the inventory halfway through doesn't change who gets the command. Look at the canary's output yourself, not just its exit status; on network gear, a command that "succeeded" can still print % Invalid input. Group the results by identical output, so the three devices that answered differently stand out from the thirty-seven that agree.
For changes that might cut you off, give the device a way back. On Junos, commit confirmed 10 rolls the change back after 10 minutes unless you confirm it [4]. On Cisco IOS the old habit is reload in 10 before the change and reload cancel after it. If you script this instead, Ansible's serial takes a list of batch sizes, such as 1, then "10%", then "100%" [5].
Session logs: on before you need them
Change tickets ask what you did and what the device said. Memory isn't evidence. Log every session to a file, named so you can find it later, for example 2026-12-01_ams1-fw-prod-01.log, with a timestamp on each line. Two things go wrong with logging: the log silently stops when the disk fills, and passwords typed at a prompt end up in the file. A logging feature should fail loudly in the first case, and only record what the device sent in the second.

Getting files on and off the box
Upgrading firmware or pulling a config means moving files, and network devices are picky about how.
| Method | When it fits | Watch out for |
|---|---|---|
| SFTP | Servers, many firewalls and newer devices | Plenty of switches and routers don't run an SFTP subsystem at all. |
| SCP | Devices with SSH but no SFTP | Since OpenSSH 9.0 (8 April 2022), scp uses the SFTP protocol by default; add -O for the legacy protocol these devices expect [6]. |
| TFTP | The device pulls from a server, for example copy running-config tftp: | No authentication and no encryption. Run the server only for the transfer, on the management network. |
| ZMODEM | A file over the session you already have, including a serial console | Slow on a 9600 bps console; your terminal must support it. |
Whatever the method, compare a checksum after the transfer. Many platforms can print one, for example Cisco's verify /md5 flash: followed by the file name. A firmware image that's a few bytes short is a bad way to find out the link dropped.
X11, briefly
Sometimes the tool you need is graphical and lives on a jump box: a capture viewer, a vendor's old management GUI. SSH can forward X11 for that. Prefer untrusted forwarding (ssh -X), which limits what the remote program can do to your display, over trusted (ssh -Y). On macOS you need XQuartz; on Windows, an X server such as VcXsrv or WSLg.
What the common tools offer network engineers
Most network teams already have a favourite: PuTTY because it was there, SecureCRT because the senior engineer bought it, MobaXterm because it does everything on Windows. Here is what each vendor's own pages say about the four things this guide leans on hardest.
Read on 2 December 2026, except where the Sources give another date. A dash means the pages we read don't say, not that the tool lacks it.
| Tool | Serial | Telnet | Session logs | One command to many sessions |
|---|---|---|---|---|
| PuTTY | A local serial line [7] | Yes [7] | All session output, printable output only, or SSH packets; file names with date, time and host (&Y, &D, &T, &H) [8] | - |
| SecureCRT | Yes [9] | Telnet and Telnet/TLS [9] | Start a log on connect; file names with host, session, folder and date (%H, %S, %F, %Y); a timestamp on each line [10] | The Command window's Send Commands to All Sessions [11]; Command Manager, button bar, and scripts in VBScript, JScript, PerlScript or Python [9] |
| Xshell | Yes [12] | Yes [12] | Session logging with auto save and several formats [12] | Compose Pane sends lines to multiple sessions; VB, JScript and Python scripting [12] |
| WindTerm | Yes [13] | Yes [13] | Manual and automated session logging [13] | Sync Input [13] |
| MobaXterm | Serial session type [14] | Yes [14] | An option to copy all terminal activity to a text file [14] | MultiExec: shows all terminals and types into all of them at once [14] |
| Tabby | Integrated serial terminal [15] | Yes [15] | Through the save-output plugin [15] | Through the quick-cmds plugin, to one or all tabs [15] |
| mRemoteNG | Not in its protocol list [16] | Yes [16] | - | A Multi SSH toolbar [17] |
| electerm | Yes [18] | Yes [18] | - | - |
Every multi-session feature in this table is the broadcast kind described above: it sends what you type to sessions that are already open. None of the pages we read describes a canary run or results grouped per device, so for changes, script it (SecureCRT and Xshell have scripting built in) or use a tool such as Ansible. For files over a console, WindTerm and Xshell list XModem, YModem and ZModem [13] [12]; Tabby and electerm list Zmodem [15] [18].
Termius, Royal TS, Remote Desktop Manager and Remmina are left out on purpose: they are built around other jobs (sync across devices, team sharing, remote desktops). See the full comparison for all twelve tools, with prices and platforms.
Checklist, and where MyXterm stands
MyXterm is a free, open-source (Apache-2.0) connection manager and terminal for macOS, Linux and Windows. v0.1.0 is the first stable release. macOS builds are signed and notarized; Windows and Linux builds are not code-signed yet. Its serial support has been tested on a virtual port pair, not yet on real USB hardware, and SCP has not met a real network device yet.
| Task | What you need from the tool | MyXterm today |
|---|---|---|
| Console access | Serial with line settings, BREAK, vendor presets | Serial with BREAK and Cisco, Juniper, Arista and FortiGate presets partial SER-001 |
| Old and lab gear | Telnet, clearly marked as unencrypted | Telnet with a "TELNET · unencrypted" identity strip partial PROTO-001; Telnet through a jump host planned TUN-101 |
| Old SSH | Legacy algorithms per host, never silently | Per-session algorithm order partial SSH-106; per-host legacy opt-in planned SSH-015 |
| Bulk commands | Preview, canary, per-device results | Run command on hosts with a canary and grouped results partial AUTO-002; broadcast input across split panes partial AUTO-003 |
| Evidence | Logs with timestamps and name templates; loud failure | Session logging partial TERM-014; keyword highlighting partial TERM-015 |
| Files | SFTP, SCP fallback, ZMODEM | SFTP on the tab's connection partial SFTP-003; SCP mode for devices without SFTP partial SFTP-002; ZMODEM partial XFER-101 |
| Login steps | Send the pager command after login | Login scripts planned AUTO-107 |
| GUI tools | X11 forwarding, untrusted by default | X11 forwarding partial SSH-018 |
If you're still choosing a tool, start with what a connection manager is and how to organise a large inventory. The tool pages compare MyXterm with what network teams use today: SecureCRT, PuTTY, Xshell, MobaXterm, WindTerm, Tabby, mRemoteNG and electerm.
FAQ
What terminal settings do I use for a Cisco console port?
9600 bps, 8 data bits, no parity, 1 stop bit and no flow control, often written 9600 8N1. That is what Cisco's troubleshooting note recommends for router consoles.
Why does SSH say no matching key exchange method found?
The device only offers algorithms that your OpenSSH no longer enables by default. Add the old algorithm for that host only, for example KexAlgorithms +diffie-hellman-group1-sha1 in a Host block, never under Host *.
How do I run the same command on many switches safely?
Freeze the list of targets, run on one canary device first, read its output, then continue in small waves and stop on any error or unexpected output. For changes that could cut you off, use a confirmed commit or a scheduled reload.
How do I copy a file to a switch that has no SFTP?
Use SCP if the device supports it. With OpenSSH 9.0 or later, add -O so scp uses the legacy protocol. TFTP and ZMODEM are other options. Compare a checksum after the transfer.
Is Telnet safe to use?
Telnet sends everything, passwords included, in clear text. Use it only on an isolated management network or a local lab, ideally through a jump host on that network, and never with a password you use elsewhere.
Which terminal tools support serial consoles and Telnet?
PuTTY, SecureCRT, Xshell, WindTerm, MobaXterm, Tabby and electerm all list both serial and Telnet; mRemoteNG lists Telnet but not serial. SecureCRT, Xshell, WindTerm, MobaXterm and mRemoteNG also have a built-in way to send one command to many open sessions. MyXterm has serial and Telnet too, but its serial support has not been tested on real USB hardware yet.
Sources
Sources 1 to 6 read on 1 December 2026, 7 to 18 on 2 December 2026. Vendors change their pages; check the source before you decide. MyXterm statuses are from features.toml on the same day; partial
means it works in the app but does not meet its full acceptance criteria yet.
- Cisco, Troubleshoot and Apply Correct Terminal Emulator Settings for Console Connections: cisco.com/c/en/us/support/docs/dial-access/asynchronous-connections/9321-terminal-settings.html
- OpenSSH 8.8 release notes: openssh.org/txt/release-8.8
- OpenSSH, Using OpenSSH with legacy SSH implementations: openssh.org/legacy.html
- Junos
commitcommand reference (confirmed commit): juniper.net/documentation/en_US/junos13.2/topics/reference/command-summary/commit.html - Ansible, Controlling playbook execution (serial batches): docs.ansible.com/ansible/latest/playbook_guide/playbooks_strategies.html
- OpenSSH 9.0 release notes (scp uses SFTP): openssh.org/txt/release-9.0
- PuTTY manual, chapter 3 (§3.6 serial line, §3.8 Telnet): the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter3.html
- PuTTY manual, §4.2 (logging) and §4.2.1 (log file names): the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter4.html
- SecureCRT product page: vandyke.com/products/securecrt
- VanDyke, How to configure SecureCRT to automatically log session data to a file: vandyke.com/support/tips/configure-automated-logging-in-securecrt.html
- VanDyke, Using the Command window to send commands to multiple SecureCRT sessions: vandyke.com/support/tips/chatsendcom.html
- Xshell features and specs: netsarang.com/en/xshell-all-features
- WindTerm repository and README: github.com/kingToolbox/WindTerm
- MobaXterm documentation (§1.2 session types, §1.3 MultiExec, §3.2.12 logging, §4.2 Telnet): mobaxterm.mobatek.net/documentation.html
- Tabby repository and README (with its plugin list): github.com/Eugeny/tabby
- mRemoteNG repository and README: github.com/mRemoteNG/mRemoteNG
- electerm repository and README: github.com/electerm/electerm
Last updated