Importing from MTPuTTY Importing from MTPuTTY

Importing from MTPuTTY

Dmitry Babinsky Dmitry Babinsky

This article describes how to import data from MTPuTTY.

For that you'll need to:

  1. export the data from MTPuTTY through 'Server > Export tree',
  2. convert the exported file into an SSH config file (see below),
  3. import the resulted file into Termius.

After importing from MTPuTTY, you may want to import from PuTTY.

Convert from MTPuTTY

Before running the script, replace .\mtputty.xml in it with the location of the file created by MTPuTTY.

$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
[xml]$content = Get-Content .\mtputty.xml
$content.Servers.Putty | Select-Xml -Xpath '//Node[@Type="1"]' | Select-Object -ExpandProperty 'node' | %{
'Host {0}' -f $_.DisplayName
' Port {0}' -f $_.Port
' User {0}' -f $_.Username
' Hostname {0}' -f $_.ServerName
}>ssh_config

If you're having difficulty importing data, please, contact us.

Add comment

Please sign in to leave a comment.