Is there any to way to automatically upload the public key to Gitlab after generating the private/public key pair. I want to automate these steps:
Open Gitlab and enter Settings-> SSH Keys. Then paste the public key and click the Add Key button to add.