benefits of ssh if we have set up one time we don’t need to put username and password again and again.

Open a terminal on Linux or macOS, or Git Bash / WSL on Windows.

Step 1: Generate a new SSH key pair:
ssh-keygen

Step 2: now copy code from User/username/.ssh folder and open file id_rsa.pub copy code form this file and post in the gitlab account


https://gitlab.com/profile/keys

now upload code in the profile section ssh key

Leave a Comment