Import sessions from other programs

The plugin can read the session lists of other SSH and file-transfer programs and show them as ready-to-use entries. Nothing in the source program is modified — the plugin only reads.

The [Imports] folder

Open the plugin in Total Commander. Alongside your own saved sessions you will see a folder named [Imports]. It appears automatically as soon as at least one supported program is detected on the machine, or after you add a portable location by hand.

Inside [Imports] there is one folder per source program:

[Imports]
├── [SecureCRT]
├── [PuTTY]
├── [WinSCP]
├── [FileZilla]
├── [KiTTY]
└── [OpenSSH]

Only the programs that were actually found are listed.

Inside a source folder

Each source folder holds the sessions found for that program, plus a few command entries:

EntryWhat it does
[Refresh]Re-reads the source program and updates the list on demand. Changes show by themselves the next time you open the folder, in the auto-detected location and in the ones you added.
[Add custom location...]Point the plugin at a portable installation, a backup folder, or a USB stick in addition to the auto-detected location.
[Manage custom locations]Lists the locations you added. F8 removes one and drops only the sessions that came from it.
A sessionEnter connects. F5 copies it into your own session list.

Two ways to use an imported session

Connect directly (Enter)

Press Enter on a session and the plugin connects using the settings read from the source program. Nothing is written to your own configuration — the entry stays a live view of the other program's session. If you later change the session in PuTTY, the change is picked up the next time you open the folder. A host key you confirmed for such a session is kept across that re-read as long as the host stays the same.

Make it your own (F5)

Select one or more sessions and press F5 (or drag them) onto the other panel showing the plugin root. They are written into your sftpplug.ini as ordinary saved sessions and from then on behave like any session you created yourself — you can edit them with Alt+Enter, rename with F6, put them in folders.

To copy every session of a source at once, enter its folder, press Ctrl+A (or Num *) and then F5.

F5 onto a real filesystem path writes a portable INI snippet instead, which you can carry to another machine and drop back onto the plugin root.

Where each source is looked for

SourceAuto-detected locationCustom location accepts
SecureCRT %APPDATA%\VanDyke\Config\Sessions\ Any folder holding a SecureCRT session tree
PuTTY HKCU\Software\SimonTatham\PuTTY\Sessions
(also used by ExtraPuTTY, PuTTY CAC, mtPuTTY, SuperPuTTY)
A putty.reg export file
WinSCP HKCU\Software\Martin Prikryl\WinSCP 2\Sessions A portable WinSCP.ini
FileZilla %APPDATA%\FileZilla\sitemanager.xml Any sitemanager.xml
KiTTY %APPDATA%\KiTTY\Sessions\, %LOCALAPPDATA%\KiTTY\Sessions\, %USERPROFILE%\KiTTY\Sessions\, or the folder registered for the .kitty file association The Sessions\ folder, or the KiTTY install root — the plugin steps into Sessions\ by itself
OpenSSH %USERPROFILE%\.ssh\config (where OpenSSH for Windows keeps it) Any OpenSSH client config file
OpenSSH config. Every concrete Host name is a session; patterns such as Host 10.* or Host * are not listed but their values apply to the hosts they match, the first value found winning, exactly as ssh myserver resolves them. Read: HostName, Port, User (your Windows user name when absent, as ssh does), the first IdentityFile, ProxyJump with one hop, and Include. Match blocks are skipped. A ProxyCommand or a chain of jump hosts is refused. The config stays the place the settings live: Enter connects with what it says, and an edit to the config or to any file it includes shows the next time you open [OpenSSH].
KiTTY is portable by design and has no fixed install path. If you unpacked it somewhere the probes do not cover — a Downloads folder, a second drive, a USB stick — the source folder stays empty until you add the location through [Add custom location...].

Which sessions appear

Only sessions the plugin can actually open are listed. Entries using a protocol outside SSH/SFTP/SCP are filtered out:

Template rows the source programs keep for their own defaults (Default Settings) are filtered out everywhere.

What is carried over

SettingSecureCRTPuTTYWinSCPFileZillaKiTTYOpenSSH
Host and portyesyesyesyesyesyes
User nameyesyesyesyesyesyes
Key fileyesyesyesyesyesyes
SSH agent—yesyes—yes—
File name encodingyesyes—yesyesUTF-8
Line endings—yesyes—yesUnix
SCP transport——yes———
Password———partlyyes—
Proxy (HTTP, SOCKS4, SOCKS5)on copyon copyon copyon copyon copy—
Jump host / tunnelyesyesyes—refusedyes

Folder structure is preserved: a WinSCP session in a folder, a FileZilla site inside a <Folder>, or a SecureCRT session in a subdirectory all show up as nested folders in the panel.

Passwords

Whether a password comes across depends on how the source program stores it, and on whether saving it was a deliberate choice by the user:

Whenever a password is imported it is re-protected with Windows DPAPI before being stored, exactly like a password you type into the plugin yourself. Nothing is written in plain text.

Key files

The session list is cached

Session lists are stored next to sftpplug.ini so they are available immediately when Total Commander starts, without re-scanning anything. Consequences worth knowing:

Proxies, jump hosts and tunnels

A session that reaches its host through a proxy, a jump host or a tunnel in the source program is never connected without it: going straight to the target would look like success while quietly skipping what was put in the way. What happens depends on whether the plugin can rebuild the dependency:

Not carried over

Host key fingerprints are not inherited — the plugin asks you to confirm the fingerprint on the first connection, as it does for any new host.

Back to index