惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
B
Blog RSS Feed
小众软件
小众软件
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
大猫的无限游戏
大猫的无限游戏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 聂微东
WordPress大学
WordPress大学
月光博客
月光博客
S
SegmentFault 最新的问题
Engineering at Meta
Engineering at Meta
量子位
V
Visual Studio Blog
罗磊的独立博客
Last Week in AI
Last Week in AI
The Cloudflare Blog
H
Help Net Security
J
Java Code Geeks
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Microsoft Azure Blog
Microsoft Azure Blog
The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队

nginx on 打工人日志

使用TLSv1.3 升级nginx和openssl nginx 配置和编译 nginx 编译参数详解 nginx 重写规则 rewrite模块 nginx.conf 配置文件详解 nginx 日志格式整理 nginx 汇总
nginx ssh-key connection exception
2022-06-15 · via nginx on 打工人日志

nginx ssh-key connection exception

Not long ago, I wanted to restart the company’s gitlab server.I couldn’t coonect to ssh when it restarted.emm……I try copy the ssh rsa.pub,but it didn’t work.

error log:

identity_sign: private key ~/.ssh/id_rsa contents do not match public

what is happen?

solution

reconfigure gitlab ssh key!

  1. create new ssh key
1ssh-keygen -t rsa -C 'git@gitlab.com' -f ~/.ssh/gitlab-rsa
  1. update config file,enter ~./ssh,open config
1# add host
2Host gitlab.com
3    HostName gitlab.com
4    IdentityFile ~/.ssh/gitlab_id-rsa
  1. enter http://gitlab.com ,Profile Settings–>SSH Keys–>Add SSH Key

You are done