AI • Science • Technology • Future

Side Projects

Scripting Network Console Sessions with JackedIN

Image from the original article
Featured image: original publisher image. Via original publisher.

A common challenge in network operations is automating console sessions—like those used for initial device boot-up or lab testing—without relying on full-featured remote access tools. Source: dev.to.

Why Console Automation Matters

Many network devices still require direct console access during setup. This includes initial SSH key configuration, Telnet jumps on lab switches, and standard SSH sessions once the device is online.

While the underlying protocols are well-established, the real pain point lies in the repetitive nature of manual interactions: entering login credentials, executing commands, and parsing output—all within a terminal window that cannot be scripted.

Introducing JackedIN

JackedIN is a terminal application designed specifically for network gear. It supports built-in profiles for major platforms including Junos, Cisco IOS/NX-OS, Arista, Nokia, and MikroTik.

Designed for local use, the app runs directly on the user’s machine and includes a full 72-hour trial with no sign-up or credit card required. After the trial, the launch price is $19 one-time (regular $29).

Three Ways to Use JackedIN

  • Desktop window: Run jackedin with no arguments to launch a full desktop interface with tabs, saved sessions, serial, SSH, and Telnet support. This is ideal for users who prefer a visual environment to manage multiple device connections.
  • Command-line execution: Use commands like jackedin connect --serial /dev/ttyUSB0 --baud 9600 to connect to a serial console. On Windows, serial ports appear as COM5. Users are encouraged to use a device they own or are authorized to manage to avoid security risks.
  • Scriptable execution: Run echo 'show version' | jackedin connect --protocol telnet --host 192.0.2.10 to send a command and capture output in a script. This enables integration into automation pipelines without requiring external tools or complex setup.

Local API for Automation

Behind the desktop and CLI interfaces, JackedIN includes a local automation API. This feature is disabled by default and only listens to connections from the same machine, ensuring no external exposure.

When activated, it allows scripts to open a session, send commands, wait for expected output, and close the session—all without requiring network access or exposing credentials to the internet.

It also supports basic network diagnostics such as ping, traceroute, and port scans, but only for devices the user has explicit authorization to test.

Dry-Run for Safety

Before executing any real command, users can perform a dry-run. For example:

jackedin exec --host 192.0.2.10 --dry-run --cmd 'show version'

During a dry-run, no actual connection is established, and no passwords are transmitted. This helps catch syntax errors or typos before they result in unintended changes to device configurations.

Image from the original article
original publisher image. Via original publisher. · Source

Users can also define expect rules to fail a run if the output does not match expected patterns—such as a version string or prompt—providing a more robust validation layer than relying solely on connection drops.

Integration with Python and Other Tools

The JackedIN Python client is available on PyPI and can be installed via:

  1. pip install jackedin
  2. pip install nornir-jackedin (optional)

When used in a script, the client enables direct interaction with network devices. For instance:

from jackedin import Jackedin
device = Jackedin("192.0.2.10", username="netops")
print(device.dry_run(["show version"]).text)
report = device.run([
"show version"
], expect=[{
"command": "show version",
"expect_match": "Version"
}])
print(report)

This allows scripts to verify device versions, validate prompts, or fail a job when the expected output is missing—making it ideal for use in CI/CD pipelines or lab validation workflows.

Practical Limitations and Notes

  • A macOS version is not currently available.
  • Existing session configurations from tools like PuTTY, SecureCRT, MobaXterm, or SSH config files can be imported directly into JackedIN, making it easy to transition from legacy tools.
  • SFTP file transfer is included, enabling secure file operations during lab testing or device management.
  • The local API is intended to remain on the user’s local machine and should not be treated as a network service exposed to the internet.
  • Version 1.2.1 specifically addresses common issues such as serial consoles that only prompt Password: and enable prompts during first boot—problems that frequently arise in automated first-boot scripts.
  • The Windows installer is not code-signed, which may trigger SmartScreen warnings. However, the portable zip version does not require administrative privileges and can be run by standard user accounts.

Where to Learn More

Download the trial, user guide, and current version at getjackedin.com.

For a lab bundle with PathProbe Pro, visit getpathprobe.com/bundle/. Students, teachers, and CTF teams can request a 40% discount by emailing service@getpathprobe.com.

For short demos and explainers, subscribe to the Been There, Built That YouTube channel.

Developers who already work in Python can start with pip install jackedin and a dry-run test against a lab device.

Disclosure: The author builds JackedIN. This post describes the current 1.2.1 app and 1.2.0 Python packages.

Related reads:

Sources & further reading

Featured image: original publisher image. Via original publisher. Image source