# Git Clone dengan SSH

Buka terminal lalu ketik `ssh-keygen -t rsa`, selanjutnya tekan enter sampai key fingerprint berhasil di generate.

<figure><img src="https://1578455751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F09pucuEBc5BTaaur3uoo%2Fuploads%2F8nKQVZWAIxTHLcISIZyn%2Fssh.png?alt=media&#x26;token=1a35788a-5863-4446-be92-d140e74baadb" alt=""><figcaption></figcaption></figure>

Kemudian masuk ke menu Settings di menu bagian kanan bawah.

<figure><img src="https://1578455751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F09pucuEBc5BTaaur3uoo%2Fuploads%2FWdNIzwKtaoNizLmHLfmZ%2Fssh%20setting.png?alt=media&#x26;token=de844ed6-9a07-48b1-9d14-ef4dc1691d4b" alt=""><figcaption></figcaption></figure>

Selanjutnya buka tab SSH and GPG keys, lalu klik New SSH key.

<figure><img src="https://1578455751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F09pucuEBc5BTaaur3uoo%2Fuploads%2FtNFaU7sb4YHtaOaZMGqH%2Fssh%20new.png?alt=media&#x26;token=35d7d31f-cde1-4b05-af33-a89658352ad2" alt=""><figcaption></figcaption></figure>

Tambahkan SSH dengan judul sesuai keinginan dan key finger print dari hasil generate command `ssh-keygen -t rsa`.

<figure><img src="https://1578455751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F09pucuEBc5BTaaur3uoo%2Fuploads%2FzVaNsxjQxueUotbOvtkA%2Fssh%20setting%20add%20new%20key.png?alt=media&#x26;token=7442d7f6-0814-43a0-9a98-90dcdd7d492d" alt=""><figcaption></figcaption></figure>

Kemudian copy command clone dari tab SSH dan paste ke terminal seperti berikut.

<figure><img src="https://1578455751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F09pucuEBc5BTaaur3uoo%2Fuploads%2FWnT11Sd4krPllUtpqCEg%2Fssh%20clone.png?alt=media&#x26;token=cadf7b18-5756-4b90-a9de-f3dd5a0906c8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1578455751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F09pucuEBc5BTaaur3uoo%2Fuploads%2FWPVhaxh7xs7v5WvIDC4c%2Fssh%20git%20clone.png?alt=media&#x26;token=07d8fc1a-ba85-44fa-9cd2-3fbb993d4ede" alt=""><figcaption></figcaption></figure>
