Andre Schütz - Learn. Think. Reflect - Tech developer
Create a new pair of ssh keys with a specific filename

Create a new pair of ssh keys with a specific filename

If you need additional ssh keys for the work on external projects, you can create additional keys with the following command:

ssh-keygen -b 4096 -t rsa -C My-Email -f filename

If you have not executed the command within the .ssh folder, you should move the created files:

mv filename filename.pub .ssh

Finally, you can add the keys to you local Shell session with:

ssh-add .ssh/filename

Leave a Reply