溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

gitlab免登陸配置

發(fā)布時間:2020-07-24 20:38:20 來源:網(wǎng)絡(luò) 閱讀:735 作者:hgditren 欄目:軟件技術(shù)

修改ssh配置文件

zrj@zrj:/etc/nginx/sites-available$ cat ~/.ssh/config 
Host gitlab.yundoukuaiji.com 
IdentityFile ~/.ssh/id_rsa 
User zhangrenjie 
port 10122

Host gitlab.jiayunhui.com 
IdentityFile ~/.ssh/id_rsa 
User zhangrenjie 
port 10122

找到公鑰

zrj@zrj: cat ~/.ssh/id_rsa.pub 
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCsjz/BqK1wducBghm949h6GQ6WQ3rXvGBmjAfDtX84bjVuByem1BwpXvyaueqxn7OrUX6AvzGK5A5dNWwGT5doZN5ponodez51oD9EKgUSXv3jKNdJNfyDxlSj8hDiBUDy+2l5CrEkv3FVzttn5dgy3mlEPm92cyWIN8BHkUsSGpGGLepqksRG/1kpNwHlNmeAW7mnf2ZnnviLNz9tk2LPuN5gV54R44XApnWNT98GanU0ijnJgWaVorCBHzQsJvFwmEBaGSnD84U2jW4kZM6Z729HbpvG/dV83F+sPUe9I7IW4SVYhVFSc11nKCMPOJYyNKl0tnkcxBOawOvrCpJ+YOTRxGpVS2VZB0iz9r1HflEnO2alNggwcE6Xv1Cu4HBO/03TOlwHBQxDy/Wsl9bEsH+sgn6IvHLLp5VpL/uqdshxQHCcp6iXIpGgo9998gMrfQ3yjKrhW5ld8HwqCQPifjwpM3/oVUQ8mSA387kd0vG1NV3PeqmGLg434KLJPdiMfW6QdGdfoV8QemX/MLRT9OCAs2lLLFcXT2YzT0ImiKIP1qIpa16JeqY7kYkul8XbL1StuEcX6M+XUMZDcO4tpHV418q4eberBcYnAPD+EbcRfDFl/nJyV9OkZAEAqnLllyNe6xrB41nIlS3qaBjK5c1BLn7Q6MUvdUG4DL/7vQ== zhangrenjie@jiayunhui.com

打開GitLab,找到 User Settings ->SSH Keys,填寫公鑰

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI