If you want to import multiple hosts, this script will help.
A MacOS, Linux or Windows PC
Python and Termius CLI
The importer.py script
A source.txt file with the hosts and details
Before you continue, please run these commands:
If the commands return:
pull data from Termius cloud.
Please continue. Otherwise, you have encountered a bug. Please contact us for assistance.
The source file is a plain text file. Each new line is considered a new entry. Values are separated by a comma
,. The source file follows the following pattern and blank fields are ignored:
Your file could look like the following:
Router,192.168.1.1,admin,adminRaspberry pi,192.168.1.15,pi,RaspberryHome media center,192.168.1.16Work,22.214.171.124
Download the importer.py script. There is a gist available here.
Now importer.py and source.txt are prepared you may run importer.py.
Open the terminal
Navigate to the directory that contains
python importer.py source.txt
The script will take a few seconds to initiate and you'll be prompted to login. You'll be asked to provide your password several times again. Note that processing may take a while, especially when you are importing a large amount of hosts.