help/docs/inc/ssh-mac.md

821 B

ssh - mac usage

generating your keypair

  1. open terminal (it's in /Applications/Utilities)

  2. create your .ssh directory:

mkdir -m 700 ~/.ssh
  1. create your keys:

for dd25519 keys:

ssh-keygen -t ed25519 -a 100

for rsa keys:

ssh-keygen -t rsa -b 4096
  1. if you press enter to accept the defaults, your public and private key will be located at ~/.ssh/id_ed25519.pub and ~/.ssh/id_ed25519 respectively (or ~/.ssh/id_rsa.pub and ~/.ssh/id_rsa if you chose rsa type)

  2. cat ~/.ssh/id_ed25519.pub (or cat ~/.ssh/id_rsa.pub for rsa)

  3. copy the output of the last command and paste it in the sshkey field on the signup form.

using your keypair

  1. open terminal (it's in /Applications/Utilities)

  2. ssh to envs.net:

ssh username@envs.net