MTPuTTY Portable

Written by

in

How to Setup and Use MTPuTTY Portable Without Installation Multi-Tabbed PuTTY (MTPuTTY) is a powerful automation wrapper for the popular PuTTY SSH client. It allows you to manage multiple SSH sessions in a single tabbed window. By setting it up as a portable application, you can run your entire SSH configuration directly from a USB flash drive or a cloud storage folder without installing any software on your host computer.

Here is how to configure a fully portable MTPuTTY environment on Windows. Step 1: Download the Required Binaries

Because MTPuTTY is a wrapper, it does not function on its own. You need both the MTPuTTY executable and the native PuTTY executable.

Download PuTTY: Visit the official PuTTY download page. Download the standalone putty.exe binary (choose the 32-bit or 64-bit version depending on your target systems). Do not download the installer .msi package.

Download MTPuTTY: Download the latest MTPuTTY zip archive or executable from its official website. Step 2: Organize Your Portable Folder Structure

To ensure portability, you must keep all files inside a single, dedicated directory.

Create a new folder on your portable drive (e.g., D:\PortableApps\MTPuTTY</code>).

Move the downloaded putty.exe and mtputty.exe into this folder. Step 3: Enable Portable Mode for PuTTY

By default, PuTTY saves its session configurations and SSH keys to the Windows Registry (HKEY_CURRENT_USER\Software\SimonTatham\PuTTY). To make your setup truly portable, you must force PuTTY to save its data into local files instead of the host registry.

While there are various modified versions of PuTTY (like PuTTY Portable from PortableApps), you can make the standard PuTTY portable by using a basic command-line parameter or a batch file, or by downloading a specific portable fork like KiTTY or PuTTY-Portable that natively supports file-based storage.

If you use standard PuTTY alongside MTPuTTY, you can configure MTPuTTY to manage the sessions natively, but to keep PuTTY’s global settings portable:

Create a subfolder named sessions inside your MTPuTTY folder.

If you are using a portable variant of PuTTY (like KiTTY), place its configuration file (kitty.ini) in the folder and set savemode=dir. Step 4: Configure MTPuTTY Portable

Launch mtputty.exe from your folder. On the first launch, you must link it to your standalone PuTTY binary. Go to Tools in the top menu and select Options. Under the General tab, look for the PuTTY location field.

Click the browse button () and select the putty.exe file located inside your portable folder.

Crucial Portability Step: Ensure the path listed is a relative path (e.g., .\putty.exe) rather than an absolute path (e.g., D:\PortableApps\MTPuTTY\putty.exe). This ensures the link won’t break if your USB drive gets assigned a different letter on another computer. Step 5: Manage Sessions Portably

MTPuTTY stores its own configuration, window layouts, and session trees inside an XML file named mtputty.xml.

Check your MTPuTTY folder after closing the app for the first time. You will see mtputty.xml automatically created in the same directory.

Because this XML file travels with the executable, any servers, folders, or automation scripts you configure inside MTPuTTY will automatically move with your USB drive. Step 6: Using MTPuTTY On the Go

Now that your environment is configured, using it on any guest machine is straightforward:

No Admin Rights Needed: Because the files do not write to Program Files or the Windows Registry, you can run it on work computers or restricted environments where you lack administrative privileges.

Connecting to Servers: Right-click on the sidebar to Add Server. Input your IP address, protocol, and credentials.

Multi-Tab Productivity: Double-click multiple servers to open them. You can detach tabs, group them side-by-side, or send a single command to all open tabs simultaneously using the “Send to all scripts” feature.

When you are finished, simply close MTPuTTY and safely eject your drive. No footprint, history, or session data will be left behind on the host operating system.

If you want to customize your portable setup further, let me know:

Do you need to bundle private SSH keys (PPK files) into this portable folder?

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *