⬇ Importing from MTPuTTY ⬇ Importing from MTPuTTY

⬇ Importing from MTPuTTY

Dmitry Machulo Dmitry Machulo

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

$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

Substitute '.\mtputty.xml' with the location of the file created by MTPuTTY.

If you’re having any difficulties importing data, please, contact us 👨🏼‍🔧

Add comment

Please sign in to leave a comment.