Import from Royal TS
This article describes how to import data from Royal TS.
For that you'll need to:
    1.
    Export your terminal connections from Royal TS to a CSV file.
    2.
    Convert the CSV file to an ssh config file (see below).

Convert from Royal TS

Windows PowerShell
Bash
1
$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
2
$content = Import-Csv -Path TerminalConnections.csv
3
$content | %{
4
'Host "{0}/{1}"' -f $_.Path, $_.Name
5
' Port {0}' -f $_.Port
6
' Hostname {0}' -f $_.URI
7
' IdentityFile "{0}"' -f $_.PrivateKeyPath
8
}>ssh_config
Copied!
1
{
2
tr -d '"' | awk -F',' \
3
'NR>1 {
4
print "Host \"" $28"/"$1 "\"";
5
print " Hostname " $23;
6
print " Port " $24;
7
print " IdentityFile \"" $26 "\"";
8
}'
9
} < TerminalConnections.csv >ssh_config
Copied!
Substitute 'TerminalConnections.csv' with the exported file name.
Last modified 9mo ago
Copy link