This is a guide on how to generate SSH keys on Windows, Mac & Linux Machines.
________________________________________________________________________________________
On Mac, Windows and Linux computers
- Open a new terminal
- Run the command
-
mkdir ~/.ssh/evaluagent
-
- You should see a new directory has been created
- Run the command
-
ssh-keygen -b 4096 -t rsa
-
- Enter the location that you want to save your keys in (~ may not work. If it doesn't, use your users home directory e.g /Users/username)
-
~/.ssh/evaluagent/sftp
-
- Leave the passphrase blank (hit ⏎)
- Confirm the blank passphrase (hit ⏎)
- Your public key will be saved and then the location you entered above i.e evaluagent/sftp
- To retrieve your public key
- On Mac/Linux, run
-
cat ~/.ssh/evaluagent/sftp.pub
-
- On Windows, run
-
~/.ssh/evaluagent/sftp.pub
-
- On Mac/Linux, run
- Copy the key by selecting and copying the key
- Never share the private key publicly (~/.ssh/evaluagent/sftp)
Comments
0 comments
Please sign in to leave a comment.