Skip to content

Simple shell script to generate and output pair of SSH keys with OpenSSH.

License

Notifications You must be signed in to change notification settings

caio-vinicius/generateSSH-42SP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

generateSSH-42SP

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.

Installation

$ git clone https://github.com/caio-vinicius/generateSSH-42SP create_ssh_key
$ cd create_ssh_key

That's it!

Prerequisites

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.

Usage

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!

New key

Maybe you already have one, so you will be asked to output the current ou generate another:

New already no key

Or if yes:

New already yes key

About

Simple shell script to generate and output pair of SSH keys with OpenSSH.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages