123admin

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

GitLab 开启 SSH 方式克隆

admin • 12/12/2020

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

标签: GitLab

文章分页

««GitLab 启用 https
CentOS8 firewalld基本配置方法,集合和ipset配置»»
  • 热门文章
  • 最新更新
  • CentOS8 firewalld基本配置方法,集合和ipset配置4周前•0 条评论
  • CentOS8 firewalld基本配置方法,集合和ipset配置4周前
  • GitLab 开启 SSH 方式克隆1月前
  • GitLab 启用 https1月前
  • CentOS 7 安装 Zabbix 5.02月前
  • CentOS 7 安装Docker4月前
  • GitLab 常用配置4月前
  • CentOS 7 安装 GitLab4月前
  • Zabbix 5.0 中文乱码解决6月前
  • filebeat ssl 加密传输日志到 logstash 配置6月前
  • Cacti 报错 CSRF Timeout occurred due to inactivity, page refreshed.7月前

标签

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