Setup and usage
This page describes how to enable SSH ID for your Termius account and how to use it to connect to your hosts.
Create SSH ID
To create SSH ID on desktop:
Navigate to
Termius > Settings > SSH IDClick
Set up SSH IDto start
Choose your unique username, then wait for Termius to generate passkeys on this device

Open Termius on your other devices to generate passkeys there. We recommend using at least two devices

Your SSH ID is ready. Next, connect using SSH ID

To create SSH ID on iOS:
Open
Profile, then tapSSH ID
Tap
Set up your SSH IDto start
Choose your unique username, then wait for Termius to generate passkeys on this device

Open Termius on your other devices to generate passkeys there

Choose whether to use biometric passkeys by default

Your SSH ID is ready. Next, connect using SSH ID

To create SSH ID on Android:
Open
Settings, then tapAccount settings>SSH ID
Tap
Set up your SSH IDto start
Choose your unique username, then wait for Termius to generate passkeys on this device

Open Termius on your other devices to generate passkeys there

Choose whether to use biometric passkeys by default

Your SSH ID is ready. Next, connect using SSH ID

Add a FIDO2 key to SSH ID
On devices that support biometric authentication, such as Face ID, Touch ID, or Windows Hello, an ECDSA-SK passkey is generated and stored in the device’s secure enclave by default.
For devices that do not support built-in biometric authentication, you can add FIDO2 security keys, such as YubiKey or Google Titan, to enable presence-based authentication.
To add a FIDO2 key to SSH ID:
Navigate to
Termius > Settings > SSH IDClick
Add FIDO2 Key
Enter your encryption password

Plug in your hardware key and enter a PIN if required

Enter a label and confirm your presence by tapping the key

The FIDO2 key is added to your SSH ID

Add the corresponding public key to
~/.ssh/authorized_keyson your servers. Once added, you can use the FIDO2 key to connect from any logged-in device. Learn more in connect using SSH ID
Add a new device to SSH ID

Each device logged in to your Termius account is automatically added to your SSH ID with its own device-bound SSH keys. These keys are generated each time you log in.
To use that device for SSH connections, add the corresponding public key to ~/.ssh/authorized_keys on your servers. Learn more in connect using SSH ID.
Connect using SSH ID
To connect using SSH ID, first provision your devices' public keys on your servers, then assign SSH ID to your hosts.
Provision your devices' public keys on your servers
There are several ways to copy the public keys from your SSH ID to your servers.
To copy the public keys to a server with a shell command:
Connect to your server using the currently set up authentication method
Run the following command in the terminal:
curl -fs https://sshid.io/<your handle> >> ~/.ssh/authorized_keys
Assign SSH ID to a host and connect
To assign SSH ID to your hosts on desktop:
Open the host details for the host you want to connect to with SSH ID

In the
Credentialssection, enter the username first. If no username is set, your SSH ID handle is used as the default username
Click
+ SSH ID, Key, Certificate, FIDO2. If the SSH ID option is not available, make sure your credentials are in the Personal vault
Choose
SSH IDas the authentication method
Connect to the host from any signed-in device. SSH ID automatically selects the right key available on that device

To assign SSH ID to your hosts on iOS:
Long press the host you want to connect to with SSH ID, then tap
Edit
In the
Credentialssection, enter the username. If no username is set, your SSH ID handle is used as the default username
Tap
SSH ID, Key, Certificate, FIDO2, then chooseSSH IDas the authentication method

Tap
SaveConnect to the host. SSH ID automatically selects the right key available on your device

To assign SSH ID to your hosts on Android:
Tap the host icon you want to connect to with SSH ID, then tap
Edit
In the
Credentialssection, enter the username first. If no username is set, your SSH ID handle is used as the default username
Tap
SSH ID, Key, Certificate, FIDO2, then chooseSSH IDas the authentication method

Tap
SaveConnect to the host. SSH ID automatically selects the right key available on your device

Remove SSH keys from SSH ID
Each device logged in to your Termius account is added to your SSH ID and has its own device-bound SSH keys. These keys remain valid while the device stays logged in. If you want to rotate a key, log out and then log back in on that device.
To remove an SSH key from SSH ID
Log out of your Termius account on the relevant device
Update
~/.ssh/authorized_keyson your servers
To remove a FIDO2 key from SSH ID

Navigate to
Termius > Settings > SSH IDClick the three-dot menu next to the FIDO2 key you want to remove, then select
RemoveUpdate
~/.ssh/authorized_keyson your servers
Delete SSH ID
When you delete your SSH ID, all the device-bound SSH keys associated with this SSH ID handle will be removed, so you no longer will be able to use them to connect to the hosts.
Before you delete the SSH ID, ensure you have an alternative authentication method set up for your hosts where the SSH ID was used.
To delete your SSH ID:
Navigate to
Settings→SSH IDClick the
three-dotsmenu next to your SSH ID handle, then clickDelete SSH ID
Enter your encryption password to confirm the SSH ID deletion

Don't forget to update the ~/.ssh/authorized_keys files on your servers to clean it up from the no longer usable public keys associated with your previous SSH ID.
Last updated
Was this helpful?





