zoukankan      html  css  js  c++  java
  • ssh登陆gitlab

    官方文档:https://docs.gitlab.com/ee/ssh/

    Generating a new SSH key pair

    To generate a new SSH key pair, use the following command:Git Bash on Windows / GNU/Linux / macOS:

    ssh-keygen -t rsa -C "your.email@example.com" -b 4096
    生成后的ssh key在~/.ssh中
     If you want to change the password of your SSH key pair, you can use ssh-keygen -p <keyname>.

    Adding a SSH key to your GitLab account

    add your public SSH key to GitLab.Navigate to the 'SSH Keys' tab in your 'Profile Settings'. Paste your key in the 'Key' section and give it a relevant 'Title'. If you manually copied your public SSH key make sure you copied the entire key starting with ssh-rsa and ending with your email

    Optionally you can test your setup by running ssh -T git@example.com (replacing example.com with your GitLab domain) and verifying that you receive a Welcome to GitLab message.

  • 相关阅读:
    点子
    点子
    ruby crawler Anemone
    创业站
    我友网 没前途
    创意
    电商站
    尿布
    创意
    青番茄好项目
  • 原文地址:https://www.cnblogs.com/zealousness/p/9528527.html
Copyright © 2011-2022 走看看