<h2>GitHub SSH URL Example</h2>
HTTPS is a popular mechanism for communicating across the Internet, but security minded organizations tend to prefer SSH. User-generated SSH keys provide a higher level of encryption and confidentiality.
In GitHub, users enable SSH in two parts. First, <a href="https://searchitoperations.techtarget.com/tutorial/Create-an-SSH-key-with-GitHub-for-network-access">create GitHub SSH keys</a> that uniquely identify their account. Then, register the public half of the private key pair in the user's GitHub account.
Once these two steps are completed, the user can use the GitHub SSH URL to clone their repository of interest. All subsequence Git operations will occur over SSH.
<table style="padding: 10px" border="1">
<tbody>
<tr bgcolor="#00b3ad">
<th><span style="color: white">Configure GitHub for SSH</span></th>
</tr>
<tr style="font-size: 90%">
<td bgcolor="#EEEEEE">
<p style="font-size: 90%">Many believe secure shell (SSH) is the safest way to connect to GitHub. Here's a list of SSH tutorials that show you how to do it:</p>
<ul>
<li style="font-size: 95%">Make <a href="https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/GitHub-SSH-Key-Setup-Config-Ubuntu-Linux">GitHub use SSH</a></li>
<li style="font-size: 95%">Master <a href="https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/GitHub-SSH-Windows-Example">Windows SSH GitHub</a> connections</li>
<li style="font-size: 95%">Do a <a href="https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/github-clone-with-ssh-keys">GitHub pull or clone over SSH</a></li>
<li style="font-size: 95%">Connect to <a href="https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/How-to-configure-GitLab-SSH-keys-for-secure-Git-connections"><em>GitLab</em> with your SSH Keys</a></li>
<li style="font-size: 95%">SSH into <a href="https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/BitBucket-SSH-Key-Example"><em>BitBucket</em> over SSH with Keys</a></li>
<li style="font-size: 95%">Create keys with the <a href="https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/GitHub-SSH-KeyGen-Example">KeyGen SSH tool for GitHub</a></li>
<li style="font-size: 95%">Solve <a href="https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/Fix-GitHubs-Permission-denied-publickey-SSH-error">Permission Denied SSH Errors</a> in GitHub</li>
</ul>
<p style="font-size: 95%">Follow these tutorials and you'll learn to Git over SSH fast.</p>
</td>
</tr>
</tbody>
</table>
<h2>Where is a GitHub SSH URL?</h2>
To find the GitHub SSH URL for a given repo, go to the repository's landing page and click on the green <em><span style="color: #008000">Code</span> </em>button. This presents three separate options to connect to Git:
<ol>
<li>a GitHub SSH URL;</li>
<li>a GitHub HTTPS URL; and</li>
<li>a GitHub CLI link.</li>
</ol>
<h2>GitHub Clone over SSH</h2>
Choose the GitHub SSH URL option and then copy the provided text string to your clipboard. It should look like this:
<pre><span style="color: #003366">[email protected]:cameronmcnz/spring-boot-examples.git</span></pre>
This link can then be used with the <em>git clone</em> command.
The operation takes place over a secure connection. Once you clone the repository, continue to use Git as you normally would to version your progress and tag your milestones. Every time you push, pull or fetch to remote repository, it all occurs over a secure GitHub SSH URL.
<a href="https://itknowledgeexchange.techtarget.com/coffee-talk/files/2022/01/github-key-ssh-url-clone.jpg"><img class="wp-align wp-image-5431 size-full" src="https://itknowledgeexchange.techtarget.com/coffee-talk/files/2022/01/github-key-ssh-url-clone.jpg" alt="SSH URL GitHub" width="713" height="365" /></a> Find the GitHub SSH URL on the landing page of the repository you wish to clone.