This article describes how to import data from MTPuTTY.
For that you'll need to:
- export the data from MTPuTTY through 'Server > Export tree',
- convert the exported file into an SSH config file (see below),
- 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.
Windows PowerShell
$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.
13
-7
Was this article helpful?
3 out of 13 found this helpful
Add comment
Please sign in to leave a comment.