Skip to content
Snippets Groups Projects
Commit 24669750 authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update ssh-key-management.md

parent 8ac05e5d
Branches
Tags
No related merge requests found
Pipeline #39796 passed with warnings
......@@ -10,7 +10,7 @@ SSH uses public-private key pair for authentication, allowing users to log in wi
A private key file in the `id_rsa` or `*.ppk` format is present locally on local side and used for example in the Pageant SSH agent (for Windows users). The private key should always be kept in a safe place.
An example of private key format:
### Example of RSA Private Key Format
```console
-----BEGIN RSA PRIVATE KEY-----
......@@ -42,7 +42,26 @@ An example of private key format:
-----END RSA PRIVATE KEY-----
```
## Public Key
### Example of Ed25519 Private Key Format
```console
PuTTY-User-Key-File-3: ssh-ed25519
Encryption: aes256-cbc
Comment: eddsa-key-20240910
Public-Lines: 2
AAAAC3NzaC1lZDI1NTE5AAAAIBKNwqaWU260wueN00nBGRwIqeOedRedtS0T7QVn
h0i2
Key-Derivation: Argon2id
Argon2-Memory: 8192
Argon2-Passes: 21
Argon2-Parallelism: 1
Argon2-Salt: bb64fc32b368aa16d6e8159c8d921f63
Private-Lines: 1
+7StvvEmCMchEy1tUyIMLfGTZBk7dgGUpJEJzNl82qmNZD1TmQOqNmCRiK84P/TL
Private-MAC: dc3f83cef42026a2038f28e96f87367d762e72265621d82e2fe124634ec3c905
```
### Example of RSA Public Key Format
A public key file in the `*.pub` format is present on the remote side and allows an access to the owner of the matching private key.
......@@ -52,6 +71,16 @@ An example of public key format:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCpujuOiTKCcGkbbBhrk0Hjmezr5QpM0swscXQE7fOZG0oQSURoapd9tjC9eVy5FvZ339jl1WkJkdXSRtjc2G1U5wQh77VE5qJT0ESxQCEw0S+CItWBKqXhC9E7gFY+UyP5YBZcOneh6gGHyCVfK6H215vzKr3x+/WvWl5gZGtbf+zhX6o4RJDRdjZPutYJhEsg/qtMxcCtMjfm/dZTnXeafuebV8nug3RCBUflvRb1XUrJuiX28gsd4xfG/P6L/mNMR8s4kmJEZhlhxpj8Th0iIc+XciVtXuGWQrbddcVRLxAmvkYAPGnVVOQeNj69pqAR/GXaFAhvjYkseEowQao1 username@organization.example.com
```
### Example of Ed25519 Public Key Format
```console
---- BEGIN SSH2 PUBLIC KEY ----
Comment: "eddsa-key-20240910"
AAAAC3NzaC1lZDI1NTE5AAAAIBKNwqaWU260wueN00nBGRwIqeOedRedtS0T7QVn
h0i2
---- END SSH2 PUBLIC KEY ----
```
## SSH Key Management
You can manage your own SSH key for authentication to clusters:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment