Skip to main content
The Allthenticator app generates an SSH key in your phone’s secure hardware, and the private key never leaves the phone. Any computer paired with your phone can use the key, but only while the phone is connected.

One SSH key on your phone, used from every paired computer

How the desktop app sets up SSH

When your phone connects, the Allthenticate desktop app writes an SSH security key for your account into ~/.ssh, so a plain ssh command uses it with nothing else to configure. This works on:
  • Linux
  • macOS 15.5 or later
  • Windows with the built-in OpenSSH 8.9 or later
The app writes these files: The public key’s comment is your email followed by (Allthenticate). On computers that don’t meet these requirements, the desktop app offers your phone’s older device key through its SSH agent instead. See Set up the SSH agent manually.

Copy your public key

1

Open the desktop app

Open the Allthenticate desktop app with your phone connected. Your phone’s card shows SSH key only while the phone is connected.
2

Show the key

Select SSH key on the phone’s card. The app asks the phone for its key, which takes a few seconds after the phone connects.
Allthenticate desktop app Status page with a connected phone's card expanded to show its sk-ecdsa SSH public key, a copy button, and GitHub, GitLab and Sign Git commits buttons

The SSH key shown on a phone's card in the desktop app

3

Add it where you need it

  • Select GitHub or GitLab to copy the key and open that site’s page for adding SSH keys, then paste it.
  • Or copy the key and add it to a server’s ~/.ssh/authorized_keys.
If the desktop app shows Your old SSH key is being retired. Copy your new key from Status and use it instead., something is still using the older device key. Copy the key shown on your phone’s card and replace the old key on your Git host and servers.

Sign your Git commits

Signing every commit with the key on your phone proves the commit came from you. Select Sign Git commits on your phone’s card in the desktop app. Git then signs every commit with that key. To turn it off, select Stop signing commits.
Allthenticate desktop app phone card showing the SSH key with GitHub, GitLab and Stop signing commits buttons

Commit signing turned on: the button changes to Stop signing commits

Git 2.34 or later is required. Check with git --version; on a Mac you can upgrade with brew install git. If the app reports Couldn’t set up Git signing, configure Git by hand.

Set up commit signing manually

These commands do what Sign Git commits does for the security key file. Use the file name the app wrote if it isn’t id_ecdsa_sk.
On macOS and Windows, also point Git at an ssh-keygen that can reach the phone:
To verify your own signatures, add yourself as an allowed signer:

Sign commits in GitKraken

GitKraken signs with the key on your phone once Git is set up as above. Open GitKraken’s Preferences (the gear icon in the top right), then:
  1. Under Experimental > Git Executable, turn on Use Git Executable. This lets GitKraken sign commits with SSH.
  2. Under GPG, turn on Sign Commits by Default (and Sign Tags by Default if you want). GitKraken notes that gpg.format=ssh is set, so it signs with SSH instead of GPG.

Set up the SSH agent manually

Use this on computers where the desktop app doesn’t write a key file, or for tools that only talk to an SSH agent. The desktop app runs an SSH agent that offers your phone’s device key while the phone is connected. Point SSH_AUTH_SOCK at it:
Then open a new terminal.
Check that the agent sees your phone’s key:
The output is one line per connected phone, ending with your username and @Allthenticate:
If no phone is connected, the list is empty and the desktop app shows SSH needs your phone. Connect it, then try again. To sign commits through the agent, give Git the key itself instead of a file:

Troubleshooting

The button appears only while the phone is connected. Check that the Allthenticator app shows this computer as connected.
Check that the phone is connected, then select Try again. If the app says Update the Allthenticate app on this phone to get its SSH key, update the Allthenticator app from the App Store or Google Play.
The desktop app can’t reach its background service, which provides the SSH key. See the guide for your operating system in Desktop sign-in.
Sign Git commits needs Git. Install it, then try again.
Last modified on November 25, 2026