Importing from SuperPuTTY Importing from SuperPuTTY

Importing from SuperPuTTY

Dmitry Machulo Dmitry Machulo

This article describes how to import data from SuperPuTTY.

For that you'll need to:

  1. export the data from SuperPuTTY through 'File > Export Sessions',
  2. convert the data into an ssh config file (see below),
  3. import the resulted file into Termius.

Convert from SuperPuTTY

Before running the script provided below, replace .\Desktop\SessionsSuperPutty.XML in it with the location of the file created by SuperPuTTY.

$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
[xml]$content = Get-Content .\Desktop\SessionsSuperPutty.XML
$content.ArrayOfSessionData.SessionData | %{
'Host {0}' -f $_.SessionName
' Port {0}' -f $_.Port
' User {0}' -f $_.Username
' Hostname {0}' -f $_.Host
}>ssh_config

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

Add comment

Please sign in to leave a comment.