42 Silicon Valley: SSH (access Vogsphere remotely)
Steps to SSH on Windows Computer (aka How to git clone from Vogsphere!)
1. Download and open Ubuntu WSL. You can find this in the Microsoft Store.
2. Type: ssh-keygen -t ecdsa
3. You will get prompted, "Enter file in which to save the key (/home/vinguyen/.ssh/id_ecdsa):", just press Enter
on your keyboard
4. You will get prompted, "Enter passphrase (empty for no passphrase):", just press Enter
on your keyboard
5. Type: cd .ssh
6. Type: cat *.pub
(if this does not work, enable copy and paste on Ubuntu WSL: https://www.howtogeek.com/353200/how-to-enable-copy-and-paste-keyboard-shortcuts-in-windows-10s-bash-shell/)
7. Copy the output string. It will look something like this: ecdsa-sha2-nistp256 AAAAE2...
8. Login to intra: https://profile.intra.42.fr/
9. Click your intra > Click Settings
10. On the left hand side under the Settings menu, click SSH Key
11. Click New SSH Key
12. Paste what you copied into this (eg. ecdsa-sha2-nistp256 AAAAE2...
) and Click Submit
13. Go to your evaluation page and git clone!
Shoutout to @marrodri for showing me.
Checkout the gif below if you’re confused