~wiki

this is how we do it.

~how do i obtain a public ssh key?

April 13, 2021 — jnats

linux/unix

this part of the guide also works on termux (android terminal emulator) and wsl (windows subsystem for linux)
  1. install any ssh client, preferrably openssh, with whatever package manager you have installed
  2. run "ssh-keygen", for maximum security make sure to set a strong passkey, and try to follow sane defaults
  3. congrats ! your public ssh key should be located as ~/.ssh/id_*.pub (the * will be the encryption you chose during ssh key creation)

macos

  1. follow same steps as linux/unix
  2. congrats ! your public key will be under /Users/username/.ssh/id_*.pub

windows

  1. open the windows settings panel, and navigate to apps
  2. in the apps & features tab, head into optional features
  3. scroll down the list and look for "openssh client"
  4. if listed, good, skip step 5
  5. if not listed, select "add a feature", then scroll down, clicl on "openssh client" and click install
  6. open a command prompt/terminal of your choosing (cmd.exe works) in privileged/administrator mode
  7. run "ssh-keygen", follow the same guidelines as linux/unix step 2
  8. congrats ! if all has gone well, your public ssh key should be under C:\Users\username\.ssh\id_*.pub
make sure to send only the .pub file and never the private key !

once you have your ssh key added and have received an email notifying you of your account being created, just use "ssh username@salyut.one" to connect !

have fun !