Import from Royal TS

Termius doesn’t allow importing data from a Royal TS file per se, but you can:

  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 CSV (Terminal Connections) to SSH Config

Windows PowerShell
Bash
Windows PowerShell
$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
Bash
{
tr -d '"' | awk -F',' \
'NR>1 {
print "Host \"" $28"/"$1 "\"";
print " Hostname " $23;
print " Port " $24;
print " IdentityFile \"" $26 "\"";
}'
} < TerminalConnections.csv >ssh_config