Skip to main content
All CollectionsKnowledge BaseGeneral issues
How can I generate an SSH key pair?
How can I generate an SSH key pair?
Updated over a week ago

Issue:

How can I generate an SSH key pair?

Possible solutions:

If you want to do manual SSH key configuration on bitrise.io, you can generate an appropriate SSH keypair with a simple Command Line / Terminal command:

ssh-keygen -t rsa -b 4096 -P '' -f ./bitrise-ssh -m PEM

This will generate two files in the current directory (the directory where you run the command):

  • bitrise-ssh (private key)

  • bitrise-ssh.pub (public key)

You should copy paste the public key to your Git hosting service (for example, GitHub, Bitbucket), and when you register your app on bitrise.io, you’ll have to provide the private key.

Did this answer your question?