This article describes how to import data from Royal TS.
For that you'll need to:
- export your terminal connections from Royal TS to a CSV file,
- convert the CSV file to an SSH config file (see below),
- import the SSH config file into Termius.
Convert from Royal TS
Before running one of the scripts provided below, replace TerminalConnections.csv
in the script you've chosen with the name of the file exported from Royal TS.
Windows PowerShell
Bash
$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
$content = Import-Csv -Path TerminalConnections.csv
$content | %{
'Host "{0}/{1}"' -f $_.Path, $_.Name
' Port {0}' -f $_.Port
' Hostname {0}' -f $_.URI
' IdentityFile "{0}"' -f $_.PrivateKeyPath
}>ssh_config
{
tr -d '"' | awk -F',' \
'NR>1 {
print "Host \"" $28"/"$1 "\"";
print " Hostname " $23;
print " Port " $24;
print " IdentityFile \"" $26 "\"";
}'
} < TerminalConnections.csv >ssh_config
If you're having difficulty importing data, please, contact us.
1
-1
Was this article helpful?
0 out of 1 found this helpful
Add comment
Please sign in to leave a comment.