This page lists the steps needed to create an ssh key for Biola System Administration use. We currently use ecdsa with 521 bits.
Step 1: Create an SSH Key
- Run the following in terminal:
- Linux
ssh-keygen -t ecdsa -b 521 -f ~/.ssh/desiredSSHKeyFilename - Windows
ssh-keygen -t ecdsa -b 521 -f $HOME/.ssh/desiredSSHKeyFilename
- Linux
- Enter your desired passphrase and press enter.
- Enter your desired passphrase again and press enter.
Step 2: Set the SSH Directory and File Permissions
- Linux
sudo chown 700 ~/.ssh; sudo chown 600 ~/.ssh/* - Windows
icacls $HOME\.ssh /inheritance:r /grant:r "`"$($env:USERNAME)`":(OI)(CI)F" /T ; icacls $HOME\.ssh\* /inheritance:r /grant:r "`"$($env:USERNAME)`":(OI)(CI)F" /T