Simple shell script to generate and output pair of SSH keys with OpenSSH. This project aims to help 42 students connect to the system so they can interact with the repository remotely.
$ git clone https://github.com/caio-vinicius/generateSSH-42SP create_ssh_key
$ cd create_ssh_key
That's it!
You need OpenSSH and Unix Shell Interpreter to run properly. If you want copy-paste automatically you can install xclip too.
Tip: If you are in Ubuntu, Ubuntu-based or even Arch-based probably you have these by default installed.
You can run the script on the root repository:
$ ./generateSSH.sh
If you don't already have a pair of keys, a new pair will be generated and you will be prompted with the public key!
Maybe you already have one, so you will be asked to output the current ou generate another:
Or if yes: