Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Generate SSH Key

حسين edited this page Sep 28, 2018 · 7 revisions

Generate a ssh key for your git repo

From the application

  • Go to settings > Generate SSH key pair
  • Select the key size (length)
  • Set the passphrase (optional) and a comment (optional)
  • Press Generate
  • Press Copy to copy the public key and add it to your ssh server

From a terminal

  • Generate the private and public key:
ssh-keygen -C droid_phone -b 2048 -t rsa -f /tmp/id_rsa_droid
  • Copy the public key /tmp/id_rsa_droid.pub on your ssh server and add in to the ~/.ssh/authorized_keys file:
cat id_rsa_droid.pub >> ~/.ssh/authorized_keys
  • Copy the private key /tmp/id_rsa_droidto your phone and import it in your Password Store app through the settings.
Clone this wiki locally