Rob Kendrick

My feedback

  1. 76 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Implementing  ·  29 comments  ·  Desktop App » Windows  ·  Flag idea as inappropriate…  ·  Admin →
    Rob Kendrick commented  · 

    Just did this successfully myself, and can confirm it works, even after setting up Google 2FA. Here are the steps:

    1. Take the private key you’ve BEEN using to authenticate to the server (or the private key from a server you trust which already authenticates successfully) and save/export it to the Files on your iPhone, under the Termius app. I used SpiderOak to do this as securely as possible, and have also confirmed it works using Dropbox or Onedrive. Save it with a .txt file extension. For example: id_rsa.txt

    2. Copy the Public key to the clipboard on your phone. You may need to rename the id_{keytype}.pub to add a .txt first in order to do be able to view it. For example:
    id_rsa.pub -> id_rsa.pub.txt

    3. Open Termius. If you’re already looking at Hosts, go back to the menu and go to Keys. Tap it.

    4. Hit the + and select to Import a key.

    5. Choose the private keyfile you saved.

    6. Scroll down to the section marked PUBLIC. Paste the public key from your clipboard.

    7. Hit “Save” in the top right.

    ***NOTE: you will NOT get confirmation that the key was successfully imported. You have to back out of the import and then hit Cancel to see the newly-imported key.

    8. Do not tap the key and attempt to export it. This would fail. Instead, go back to your hosts.

    9. Tap “Select”, then tap the host for which you need to use the key, and tap the edit icon.

    10. Scroll down and tap Keys. Choose the private key you just imported.

    11. Save changes and connect to your host.

    It does not matter where the key was generated, or if the public key has a hostname different from your phone. If the host trusts the key, you’re golden.

    I hope this helps!
    Rob

Feedback and Knowledge Base