Version 1 vs 2
Version 1 vs 2
Edits
Edits
- Edit by aubort, Version 2
- Nov 25 2016 11:03
- Edit by • rezzonico, Version 1
- Oct 31 2016 10:57
Original Change | Next Change » |
Edit Older Version 1... | Edit Older Version 2... |
Content Changes
Content Changes
You have 2 possibilities for generating SSH keys:
- generate a key pair on c4science and download the private key to your computer. C4science will not store your private key.
- generate a key pair on your computer (please google this for your OS) and upload the public key to c4science.
We will here explain how to generate a key on c4science and how to use it. If you wish to upload your key, it is pretty straightforward, please keep on reading to know how to use your key on c4science.
Click on the wrench at the top right corner
{F230721}
and then choose, from the left hand side menu, `SSH Public Keys`.
# Generate a key pair on c4science
Click on `SSH Key actions` and then `Generate Keypair`. Follow the dialogs and download the private key to the correct directory (this depends on your Operating System, it usually is `~/.ssh`). You will need to change the permission to the downloaded key:
```
chmod 600 ~/.ssh/id_rsa_phabricator.key
```
Now, you will need to declare which key you use for c4science. Add the following to your `~/.ssh/config` file:
```
host c4science.ch
HostName c4science.ch
IdentityFile ~/.ssh/id_rsa_phabricator.key
User git
```
You have 2 possibilities for generating SSH keys:
- generate a key pair on c4science and download the private key to your computer. C4science will not store your private key.
- generate a key pair on your computer (please google this for your OS) and upload the public key to c4science. !!prefered method!!
We will here explain how to generate a key on c4science and how to use it. If you wish to upload your key, it is pretty straightforward, please keep on reading to know how to use your key on c4science.
Click on the wrench at the top right corner
{F230721}
and then choose, from the left hand side menu, `SSH Public Keys`.
# Generate a key pair on c4science
Click on `SSH Key actions` and then `Generate Keypair`. Follow the dialogs and download the private key to the correct directory (this depends on your Operating System, it usually is `~/.ssh`). You will need to change the permission to the downloaded key:
```
chmod 600 ~/.ssh/id_rsa_phabricator.key
```
Now, you will need to declare which key you use for c4science. Add the following to your `~/.ssh/config` file:
```
host c4science.ch
HostName c4science.ch
IdentityFile ~/.ssh/id_rsa_phabricator.key
User git
```
You have 2 possibilities for generating SSH keys:
- generate a key pair on c4science and download the private key to your computer. C4science will not store your private key.
- generate a key pair on your computer (please google this for your OS) and upload the public key to c4science. !!prefered method!!
We will here explain how to generate a key on c4science and how to use it. If you wish to upload your key, it is pretty straightforward, please keep on reading to know how to use your key on c4science.
Click on the wrench at the top right corner
{F230721}
and then choose, from the left hand side menu, `SSH Public Keys`.
# Generate a key pair on c4science
Click on `SSH Key actions` and then `Generate Keypair`. Follow the dialogs and download the private key to the correct directory (this depends on your Operating System, it usually is `~/.ssh`). You will need to change the permission to the downloaded key:
```
chmod 600 ~/.ssh/id_rsa_phabricator.key
```
Now, you will need to declare which key you use for c4science. Add the following to your `~/.ssh/config` file:
```
host c4science.ch
HostName c4science.ch
IdentityFile ~/.ssh/id_rsa_phabricator.key
User git
```
c4science · Help