123admin

  • 系统管理
  • 应用服务
  • 开发语言
  • 数据库
  • 网络
  • 关于
  • 系统管理
  • 应用服务
  • 开发语言
  • 数据库
  • 网络
  • 关于
系统管理

GitLab 开启 SSH 方式克隆

admin • 12/12/2020

假设SSH端口号将22改为2222
1 生成私钥
# ssh-keygen -t rsa -C “git@domain.com”
密钥默认生成在/root/.ssh目录下
# cd /root/.ssh
# ls
id_rsa id_rsa.pub
2 配置gitlab
用户->设置->SSH密钥,复制id_rsa.pub里面内容到密钥中
3.客户端ssh克隆
# git clone ssh://git@domain.com:2222/root/test.git

标签: GitLab

文章分页

««GitLab 启用 https
CentOS8 firewalld基本配置方法,集合和ipset配置»»
  • 热门文章
  • 最新更新
暂无文章
  • Could not increase number of max_open_files to more than 10248月前
  • CentOS 降级 yum 更新过的软件8月前
  • 如何在 CentOS 8 上安装 Yarn1年前
  • CentOS8 firewalld基本配置方法,集合和ipset配置2年前
  • GitLab 开启 SSH 方式克隆2年前
  • GitLab 启用 https2年前
  • CentOS 7 安装 Zabbix 5.02年前
  • CentOS 7 安装Docker2年前
  • GitLab 常用配置2年前
  • CentOS 7 安装 GitLab2年前

标签

Apache AWStats Cacti CentOS Debian Elasticsearch ELK FastDFS GitLab gzip HTTPS IIS iptables Keepalived Kibana Linux Linux Basics Logstash LVS Memcached MySQL mysqldump Nagios Naxsi Nginx Oracle PHP PHP-FPM phpMyAdmin prefork Pure-FTPd Python Redmine SQL Server Squid SSL Subversion SVN Tomcat Windows Windows Server yum Zabbix Zend ZendOptimizer
  • 阿里云代理
  • 腾讯云代理
  • 华为云代理
  • 阿里云国际站代理
  • 阿里云国际版代理
  • 腾讯云国际版代理
  • 华为云国际版代理
© 123admin Powered by WordPress.