gitlab免登陆配置
修改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,填写公钥
文章名称:gitlab免登陆配置
文章路径:http://myzitong.com/article/gciejp.html