... | @@ -11,7 +11,7 @@ Make sure your PIK account is granted access to the cluster. If not, please cont |
... | @@ -11,7 +11,7 @@ Make sure your PIK account is granted access to the cluster. If not, please cont |
|
# How to set up SSH keys on Mac/Linux/Ubuntu
|
|
# How to set up SSH keys on Mac/Linux/Ubuntu
|
|
|
|
|
|
1. Open a command shell
|
|
1. Open a command shell
|
|
2. Navigate to your home directory if not already there by running the following command: `cd ~`
|
|
2. Navigate to your home directory if not already there by running the following command: `cd`
|
|
3. Run the command: `ssh-keygen`
|
|
3. Run the command: `ssh-keygen`
|
|
4. Press Enter to accept the suggested location '~/.ssh/id_rsa'. We strongly recommend not to change this location!
|
|
4. Press Enter to accept the suggested location '~/.ssh/id_rsa'. We strongly recommend not to change this location!
|
|
5. (If you already set up a SSH connection in the past and want to renew - e.g. because you want to change the passphrase: Accept to overwrite the file by entering `y` and pressing Enter.)
|
|
5. (If you already set up a SSH connection in the past and want to renew - e.g. because you want to change the passphrase: Accept to overwrite the file by entering `y` and pressing Enter.)
|
... | @@ -29,7 +29,7 @@ Make sure your PIK account is granted access to the cluster. If not, please cont |
... | @@ -29,7 +29,7 @@ Make sure your PIK account is granted access to the cluster. If not, please cont |
|
|
|
|
|
- Run the command `ssh yourUsername@cluster.pik-potsdam.de`
|
|
- Run the command `ssh yourUsername@cluster.pik-potsdam.de`
|
|
- To simplify logging in by just `ssh cluster`, follow these steps:
|
|
- To simplify logging in by just `ssh cluster`, follow these steps:
|
|
1. Open a terminal and navigate to your (local!) home directory by `cd ~`
|
|
1. Open a terminal and navigate to your (local!) home directory by `cd`
|
|
2. Use a text editor to create the ~/.ssh/config file. You can use any text editor you're comfortable with. For example, you can use the nano text editor by running `nano ~/.ssh/config` <br>
|
|
2. Use a text editor to create the ~/.ssh/config file. You can use any text editor you're comfortable with. For example, you can use the nano text editor by running `nano ~/.ssh/config` <br>
|
|
This command will open the nano text editor and create a new file named config in the ~/.ssh directory if it doesn't already exist.
|
|
This command will open the nano text editor and create a new file named config in the ~/.ssh directory if it doesn't already exist.
|
|
3. Copy and paste the following into the config file. Change the pik_username in the 4th line to your PIK account username!
|
|
3. Copy and paste the following into the config file. Change the pik_username in the 4th line to your PIK account username!
|
... | | ... | |