質問編集履歴
3
sshで接続した結果を記述
title
CHANGED
File without changes
|
body
CHANGED
@@ -33,4 +33,61 @@
|
|
33
33
|
###補足
|
34
34
|
gitlabは公式ドキュメントに従い、yumを使用してインストールしました。
|
35
35
|
[https://about.gitlab.com/downloads/#centos7](https://about.gitlab.com/downloads/#centos7)
|
36
|
-
ですから、/home/gitなんて存在しないはずなのですが、よくわかりません。
|
36
|
+
ですから、/home/gitなんて存在しないはずなのですが、よくわかりません。
|
37
|
+
|
38
|
+
sshで接続してみましたが、Broken pipeで切断されますが、どうやら認証自体は成功しているようです。
|
39
|
+
```shell
|
40
|
+
ssh -vT git@HOST
|
41
|
+
|
42
|
+
OpenSSH_6.9p1, LibreSSL 2.1.7
|
43
|
+
debug1: Reading configuration data /etc/ssh/ssh_config
|
44
|
+
debug1: /etc/ssh/ssh_config line 20: Applying options for *
|
45
|
+
debug1: /etc/ssh/ssh_config line 102: Applying options for *
|
46
|
+
debug1: Connecting to HOST [IP] port 22.
|
47
|
+
debug1: Connection established.
|
48
|
+
debug1: key_load_public: No such file or directory
|
49
|
+
debug1: identity file /Users/USER/.ssh/id_rsa type -1
|
50
|
+
debug1: key_load_public: No such file or directory
|
51
|
+
debug1: identity file /Users/USER/.ssh/id_rsa-cert type -1
|
52
|
+
debug1: key_load_public: No such file or directory
|
53
|
+
debug1: identity file /Users/USER/.ssh/id_dsa type -1
|
54
|
+
debug1: key_load_public: No such file or directory
|
55
|
+
debug1: identity file /Users/USER/.ssh/id_dsa-cert type -1
|
56
|
+
debug1: key_load_public: No such file or directory
|
57
|
+
debug1: identity file /Users/USER/.ssh/id_ecdsa type -1
|
58
|
+
debug1: key_load_public: No such file or directory
|
59
|
+
debug1: identity file /Users/USER/.ssh/id_ecdsa-cert type -1
|
60
|
+
debug1: key_load_public: No such file or directory
|
61
|
+
debug1: identity file /Users/USER/.ssh/id_ed25519 type -1
|
62
|
+
debug1: key_load_public: No such file or directory
|
63
|
+
debug1: identity file /Users/USER/.ssh/id_ed25519-cert type -1
|
64
|
+
debug1: Enabling compatibility mode for protocol 2.0
|
65
|
+
debug1: Local version string SSH-2.0-OpenSSH_6.9
|
66
|
+
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
|
67
|
+
debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000
|
68
|
+
debug1: Authenticating to HOST:22 as 'git'
|
69
|
+
debug1: SSH2_MSG_KEXINIT sent
|
70
|
+
debug1: SSH2_MSG_KEXINIT received
|
71
|
+
debug1: kex: server->client chacha20-poly1305@openssh.com <implicit> none
|
72
|
+
debug1: kex: client->server chacha20-poly1305@openssh.com <implicit> none
|
73
|
+
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
|
74
|
+
debug1: Server host key: ssh-rsa SHA256:KEY
|
75
|
+
debug1: Host 'HOST' is known and matches the RSA host key.
|
76
|
+
debug1: Found key in /Users/USER/.ssh/known_hosts:3
|
77
|
+
debug1: SSH2_MSG_NEWKEYS sent
|
78
|
+
debug1: expecting SSH2_MSG_NEWKEYS
|
79
|
+
debug1: SSH2_MSG_NEWKEYS received
|
80
|
+
debug1: Roaming not allowed by server
|
81
|
+
debug1: SSH2_MSG_SERVICE_REQUEST sent
|
82
|
+
debug1: SSH2_MSG_SERVICE_ACCEPT received
|
83
|
+
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
|
84
|
+
debug1: Next authentication method: publickey
|
85
|
+
debug1: Offering RSA public key: /Users/USER/.ssh/id_rsa
|
86
|
+
debug1: Server accepts key: pkalg ssh-rsa blen 279
|
87
|
+
debug1: Authentication succeeded (publickey).
|
88
|
+
Authenticated to HOST ([IP]:22).
|
89
|
+
debug1: channel 0: new [client-session]
|
90
|
+
debug1: Requesting no-more-sessions@openssh.com
|
91
|
+
debug1: Entering interactive session.
|
92
|
+
packet_write_wait: Connection to IP: Broken pipe
|
93
|
+
```
|
2
補足
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,4 +27,10 @@
|
|
27
27
|
GitLab Shell 2.6.5
|
28
28
|
GitLab API v3
|
29
29
|
Ruby 2.1.7p400
|
30
|
-
Rails 4.1.12
|
30
|
+
Rails 4.1.12
|
31
|
+
CentOS7
|
32
|
+
|
33
|
+
###補足
|
34
|
+
gitlabは公式ドキュメントに従い、yumを使用してインストールしました。
|
35
|
+
[https://about.gitlab.com/downloads/#centos7](https://about.gitlab.com/downloads/#centos7)
|
36
|
+
ですから、/home/gitなんて存在しないはずなのですが、よくわかりません。
|
1
コマンド記述ミスを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
shell
|
7
7
|
```ssh
|
8
|
-
HOST:~ USER$ git@HOST:USERNAME/REPO.git
|
8
|
+
HOST:~ USER$ git clone git@HOST:USERNAME/REPO.git
|
9
9
|
Cloning into 'REPO'...
|
10
10
|
Write failed: Broken pipe
|
11
11
|
fatal: Could not read from remote repository.
|