Preparing for a Git Repository connection with SSH Keys
This section describes how to prepare for a Git repository connection with SSH Keys.
Procedure
-
Gather the GitHub Repository information for the SSH connection.
Note: Ensure you have granted the authority to access the GitHub repository.
- From the GitHub home page of the Git repository, click the Clone or download button to get the SSH Git repository URL. A Clone with HTTPs window opens.
- On the Clone with HTTPs window, click the Use SSH link. The Clone with SSH window displays.
- On the Clone with SSH window, you can see the SSH information. Copy or save the text under Use a password protected SSH key for the connection to the Git repository in later steps.
-
Add the SSH key to the GitHub user profile on the host.
- Use the IBM® Developer
for z/OS® Preferences to
create SSH keys as described in Preparing for the IBM Developer for z/OS with DBB integration. Copy the contents of
~/.ssh/id_rsa.pub
to the clipboard for later steps. - Click your profile on GitHub toolbar and select Settings. The Personal settings page opens.
- On Personal settings, select SSH and GPG keys. The SSH keys information displays to the right of the menu.
- On the SSH keys page, click New SSH key. The new SSH key wizard opens.
- Name the SSH key in the Title field and paste the copied content of
~/.ssh/id_rsa.pub
in the Key field. - Click Add SSH key to add the key to your profile.
- Use the IBM® Developer
for z/OS® Preferences to
create SSH keys as described in Preparing for the IBM Developer for z/OS with DBB integration. Copy the contents of