Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
382eac7c
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
382eac7c
编写于
2月 08, 2019
作者:
B
Ben Bodenmiller
提交者:
Evan Read
2月 08, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: improve per-repository deploy keys
上级
cd13d184
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
7 addition
and
5 deletion
+7
-5
doc/ssh/README.md
doc/ssh/README.md
+7
-5
未找到文件。
doc/ssh/README.md
浏览文件 @
382eac7c
...
...
@@ -114,7 +114,8 @@ To create a new SSH key pair:
and want to tell which is which. It is optional.
1.
Next, you will be prompted to input a file path to save your SSH key pair to.
If you don't already have an SSH key pair, use the suggested path by pressing
If you don't already have an SSH key pair and aren't generating a
[
deploy key
](
#deploy-keys
)
,
use the suggested path by pressing
<kbd>
Enter
</kbd>
. Using the suggested path will normally allow your SSH client
to automatically use the SSH key pair with no additional configuration.
...
...
@@ -128,7 +129,7 @@ To create a new SSH key pair:
<kbd>
Enter
</kbd>
twice.
If, in any case, you want to add or change the password of your SSH key pair,
you can use the `-p`flag:
you can use the `-p`
flag:
```
ssh-keygen -p -o -f <keyname>
...
...
@@ -258,7 +259,8 @@ Integration (CI) server. By using deploy keys, you don't have to set up a
dummy user account.
If you are a project maintainer or owner, you can add a deploy key in the
project settings under the section 'Repository'. Specify a title for the new
project's
**Settings > Repository**
page by expanding the
**Deploy Keys**
section. Specify a title for the new
deploy key and paste a public SSH key. After this, the machine that uses
the corresponding private SSH key has read-only or read-write (if enabled)
access to the project.
...
...
@@ -300,8 +302,8 @@ of broader usage for something like "Anywhere you need to give read access to
your repository".
Once a GitLab administrator adds the Global Deployment key, project maintainers
and owners can add it in project's
**Settings > Repository**
section
by expanding the
**Deploy Key**
section and clicking
**Enable**
next to the appropriate key listed
and owners can add it in project's
**Settings > Repository**
page
by expanding the
**Deploy Key
s
**
section and clicking
**Enable**
next to the appropriate key listed
under
**Public deploy keys available to any project**
.
NOTE:
**Note:**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录