小编gog*_*igo的帖子

使用 docker 在 gitea 上进行 ssh

我刚刚在 Linux mint 19 上使用 docker 安装了 gitea,我在旧的 gitea 安装中使用了 /data,所以我有一个填充数据库和存储库。当我访问网络时,它似乎工作正常。

\n\n

问题是使用 SSH:

\n\n
\xe2\x9e\x9c  /tmp sudo git clone git@gitealocal:felipe/test.git\nCloning into 'test'...\nssh: connect to host gitealocal port 22: Connection refused\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n\n\n\xe2\x9e\x9c  /tmp ssh -vT gitealocal\nOpenSSH_7.6p1 Ubuntu-4ubuntu0.1, OpenSSL 1.0.2n  7 Dec 2017\ndebug1: Reading configuration data /home/felipe/.ssh/config\ndebug1: /home/felipe/.ssh/config line 16: Applying options for gitealocal\ndebug1: Reading configuration data /etc/ssh/ssh_config\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\ndebug1: …
Run Code Online (Sandbox Code Playgroud)

ssh docker gitea

5
推荐指数
1
解决办法
4472
查看次数

标签 统计

docker ×1

gitea ×1

ssh ×1