Pro Git 2nd Edition 2.1.413resistant to brute-force password cracking than is the default format. You can also use the ssh-agent tool to prevent having to enter the password each time. Now, each user that does this has to send com/en/authentication/connecting-to-github-with- ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent. Setting Up the Server Let’s walk through setting up SSH access on the server side. In this example no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty The result should look like this: $ cat ~/.ssh/authorized_keys no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB30 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413resistant to brute-force password cracking than is the default format. You can also use the ssh-agent tool to prevent having to enter the password each time. Now, each user that does this has to send com/en/authentication/connecting-to-github-with-ssh/ generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent. Setting Up the Server Let’s walk through setting up SSH access on the server side. In this example no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty The result should look like this: $ cat ~/.ssh/authorized_keys no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB30 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 resistant to brute-force password cracking than is the default format. You can also use the ssh-agent tool to prevent having to enter the password each time. Now, each user that does this has to send com/en/authentication/connecting-to-github-with- ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent. Setting Up the Server Let’s walk through setting up SSH access on the server side. In this example no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty The result should look like this: $ cat ~/.ssh/authorized_keys no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB30 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66ssh/id_rsa),然后它会要求你输入两次密钥口令。 如 果你不想在使用密钥时输入口令,将其留空即可。 然而,如果你使用了密码,那么请确保添加了 -o 选项,它会 以比默认格式更能抗暴力破解的格式保存私钥。 你也可以用 ssh-agent 工具来避免每次都要输入密码。 现在,进行了上述操作的用户需要将各自的公钥发送给任意一个 Git 服务器管理员 (假设服务器正在使用基于公 钥的 SSH 验证设置)。 他们所要做的就是复制各自的 com/cn/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key- and-adding-it-to-the-ssh-agent。 配置服务器 我们来看看如何配置服务器端的 SSH 访问。 本例中,我们将使用 authorized_keys 方法来对用户进行认证。 同时我们假设你使用的操作系统是标准的 Linux 发行版,比如 文件并在所有想要限制的公钥之前添加以下选项: no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty 其结果如下: $ cat ~/.ssh/authorized_keys no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAAD0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66要求你输入两次密钥口令。 如果你不想在使用密钥时输入口令,将其留空即 可。 然而,如果你使用了密码,那么请确保添加了 -o 选项,它会以比默认格 式更能抗暴力破解的格式保存私钥。 你也可以用 ssh-agent 工具来避免每次 都要输入密码。 现在,进行了上述操作的用户需要将各自的公钥发送给任意一个 Git 服务器管 理员 (假设服务器正在使用基于公钥的 SSH 验证设置)。 他们所要做的就是 复制各自的 com/cn/authentication/connecting-to- github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh- agent。 配置服务器 我 们 来 看 看 如 何 配 置 服 务 器 端 的 SSH 访 问 。 本 例 中 , 我 们 将 使 用 authorized_keys 方法来对用户进行认证。 同时我们假设你使用的操作系统是 下选项: no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty 其结果如下: $ cat ~/.ssh/authorized_keys no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAAD0 码力 | 670 页 | 13.59 MB | 1 年前3
Gitea v1.21.1 中文文档in/gitea --config=/data/gitea/conf/app.ini serv key-1",no-port-forwarding,no-X11- forwarding,no-agent-forwarding,no-pty这是详细的说明,当发出 SSH 请求时会发生什么: 1. 使用 git 用户向主机发出 SSH 请求,例如 git clone 允许发起的请求方式列表 MAX_AGE : 10m: 缓存响应的最大时间 ALLOW_CREDENTIALS : false: 允许带有凭据的请求 HEADERS : Content-Type,User-Agent: 允许请求携带的头部 X_FRAME_OPTIONS : SAMEORIGIN: 详见 X-Frame-Options HTTP头部. EXPLORE_PAGING_NUM : 20: txt 的示例,请参考 https://moz.com/learn/seo/robotstxt。 1. User-agent: * 2. Disallow: / 如果您将Gitea安装在子目录中,则需要在顶级目录中创建或编辑 robots.txt 。 1. User-agent: * 2. Disallow: /gitea/ Gitea 安装的搜索引擎索引 使用 robots.txt 0 码力 | 303 页 | 3.88 MB | 1 年前3
共 6 条
- 1













