Serial console (serial over SSH)
ZestSSH reaches serial consoles through SSH console servers (also called terminal servers or console concentrators): the usual way to get to the console port of a router, switch or firewall from afar.
Availability
Section titled “Availability”| Platform | Status |
|---|---|
| Android | Full support |
| iOS | Full support |
| Windows | Full support |
| macOS | Full support |
| Linux | Full support |
How it works
Section titled “How it works”ZestSSH does not open a serial port on your device. It connects over SSH to a console server, which joins that SSH session to a serial port wired to the device. Everything between ZestSSH and the console server is encrypted by SSH.
Most console servers give each serial port its own SSH port. Check your console server’s manual for which port leads to which serial line. When you choose Serial in the host editor, ZestSSH sets the port to 3001 and says “Serial over SSH - connects to a console server. Set the port to match your serial port mapping (e.g. 3001 for Opengear port 1).”
Quick start
Section titled “Quick start”- Add a serial host:
- On a computer: on the Hosts page open the arrow beside New host and choose Serial (“A new host on a serial line”), which opens a new host with Serial already picked. Or choose New host and pick Serial under Protocol.
- On a phone: on the Hosts tab tap +, then pick Serial under Protocol.
- Type the console server’s Address, and set the port to the one for the serial line you want.
- Pick a Key that signs in to the console server.
- Choose Save host, then connect to the host.
What you get
Section titled “What you get”- SSH encryption up to the console server. The serial cable from the console server to the device is a physical link.
- The same sign-in as SSH: keys, certificates, saved passwords and the server’s own questions (keyboard-interactive).
- The Connection timeout in Settings > Terminal and SSH applies, as for SSH hosts.
- Clear messages: a console server that signs you in but opens no session says so.
Limitations
Section titled “Limitations”- No direct serial or USB: ZestSSH cannot open a USB-to-serial adapter or a serial port on your device. Use a console server.
- A console server is needed, reachable over the network and wired to the device’s console port.
- No serial settings in ZestSSH: baud rate, data bits, parity, stop bits and flow control are set on the console server, to match the device. ZestSSH has no fields for them.
- No break signal: ZestSSH has no way to send a serial break.
- No jump hosts: a console server is connected to directly; Connect via is not used.
- Keep-alive: a console server connection sends a keep-alive every 15 seconds; the host’s Keepalive interval is not used.
- Tasks: a workflow step or a scheduled task that names a serial host runs its command on the console server, over SSH, as far as that server takes a command, and never on the device on its serial line. All hosts and a group leave a serial host out, and Run on hosts does not run on one.
Troubleshooting
Section titled “Troubleshooting”Cannot connect to the console server
Section titled “Cannot connect to the console server”- Check that the console server answers SSH on that address and port.
- Check that the port is the one your console server gives that serial line.
- Check that the host’s key can sign in to the console server.
Connected, but the device shows nothing
Section titled “Connected, but the device shows nothing”- Press Enter: many devices print a prompt only after it.
- Check the console server’s serial settings (baud rate, data bits, parity, stop bits) against the device’s.
- Check that the cable is connected and the device is on.
Q: Can I plug a USB serial adapter into my phone or computer? A: Not with ZestSSH. Use a console server with SSH.
Q: What is 8N1? A: 8 data bits, no parity, 1 stop bit: the most common serial setting for network equipment. You set it on the console server.