Skip to content

PuTTY / KiTTY JSUse the SSH sessions you have already saved.

Read PuTTY and KiTTY session settings from code or the terminal.

Source code: GitHub repository.

A saved terminal session already describes the SSH host, port, username and authentication settings. PuTTY / KiTTY JS makes those settings available to scripts and terminal commands. Find the session, inspect its key path and native options, or preview a supported profile change without re-entering the connection details.

How it works explains where settings are read, how the native format is interpreted and what happens on the host.

Start with a working example ​

GoalStart here
Read settings from codeAPI quick start with output
Inspect settings from a terminalCLI quick start with output
Try everything without installed settingsSynthetic fixtures
Preview a supported settings changePreview, review and apply
Read KiTTY portable sessions and native optionsKiTTY example

What the library does ​

Read registry exports, live Windows registry sessions and supported KiTTY portable formats. Native access retains application-specific settings; normalized writing handles the documented SSH subset.

Read operations describe saved metadata without opening a remote session. Use Dockline for transfers/SSH and Dockline Keys for key loading and conversion.

Part of the Portline family, with each application library maintained in its own repository.

Reuse a saved connection ​

Connect a selected profile through the optional shared Portline–Dockline integration. Use the same scoped execution API across application readers while keeping native parsing and metadata queries free of transport dependencies.