Skip to main content

SSH

Generate a keypair

  1. Generate the key ssh-keygen -t rsa -b 4096 -C "file_name"
  2. Copy the key to the server ssh-copy-id username@server_ip