質問編集履歴
3
sshで接続した結果を記述
test
CHANGED
File without changes
|
test
CHANGED
@@ -69,3 +69,117 @@
|
|
69
69
|
[https://about.gitlab.com/downloads/#centos7](https://about.gitlab.com/downloads/#centos7)
|
70
70
|
|
71
71
|
ですから、/home/gitなんて存在しないはずなのですが、よくわかりません。
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
sshで接続してみましたが、Broken pipeで切断されますが、どうやら認証自体は成功しているようです。
|
76
|
+
|
77
|
+
```shell
|
78
|
+
|
79
|
+
ssh -vT git@HOST
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
OpenSSH_6.9p1, LibreSSL 2.1.7
|
84
|
+
|
85
|
+
debug1: Reading configuration data /etc/ssh/ssh_config
|
86
|
+
|
87
|
+
debug1: /etc/ssh/ssh_config line 20: Applying options for *
|
88
|
+
|
89
|
+
debug1: /etc/ssh/ssh_config line 102: Applying options for *
|
90
|
+
|
91
|
+
debug1: Connecting to HOST [IP] port 22.
|
92
|
+
|
93
|
+
debug1: Connection established.
|
94
|
+
|
95
|
+
debug1: key_load_public: No such file or directory
|
96
|
+
|
97
|
+
debug1: identity file /Users/USER/.ssh/id_rsa type -1
|
98
|
+
|
99
|
+
debug1: key_load_public: No such file or directory
|
100
|
+
|
101
|
+
debug1: identity file /Users/USER/.ssh/id_rsa-cert type -1
|
102
|
+
|
103
|
+
debug1: key_load_public: No such file or directory
|
104
|
+
|
105
|
+
debug1: identity file /Users/USER/.ssh/id_dsa type -1
|
106
|
+
|
107
|
+
debug1: key_load_public: No such file or directory
|
108
|
+
|
109
|
+
debug1: identity file /Users/USER/.ssh/id_dsa-cert type -1
|
110
|
+
|
111
|
+
debug1: key_load_public: No such file or directory
|
112
|
+
|
113
|
+
debug1: identity file /Users/USER/.ssh/id_ecdsa type -1
|
114
|
+
|
115
|
+
debug1: key_load_public: No such file or directory
|
116
|
+
|
117
|
+
debug1: identity file /Users/USER/.ssh/id_ecdsa-cert type -1
|
118
|
+
|
119
|
+
debug1: key_load_public: No such file or directory
|
120
|
+
|
121
|
+
debug1: identity file /Users/USER/.ssh/id_ed25519 type -1
|
122
|
+
|
123
|
+
debug1: key_load_public: No such file or directory
|
124
|
+
|
125
|
+
debug1: identity file /Users/USER/.ssh/id_ed25519-cert type -1
|
126
|
+
|
127
|
+
debug1: Enabling compatibility mode for protocol 2.0
|
128
|
+
|
129
|
+
debug1: Local version string SSH-2.0-OpenSSH_6.9
|
130
|
+
|
131
|
+
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
|
132
|
+
|
133
|
+
debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000
|
134
|
+
|
135
|
+
debug1: Authenticating to HOST:22 as 'git'
|
136
|
+
|
137
|
+
debug1: SSH2_MSG_KEXINIT sent
|
138
|
+
|
139
|
+
debug1: SSH2_MSG_KEXINIT received
|
140
|
+
|
141
|
+
debug1: kex: server->client chacha20-poly1305@openssh.com <implicit> none
|
142
|
+
|
143
|
+
debug1: kex: client->server chacha20-poly1305@openssh.com <implicit> none
|
144
|
+
|
145
|
+
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
|
146
|
+
|
147
|
+
debug1: Server host key: ssh-rsa SHA256:KEY
|
148
|
+
|
149
|
+
debug1: Host 'HOST' is known and matches the RSA host key.
|
150
|
+
|
151
|
+
debug1: Found key in /Users/USER/.ssh/known_hosts:3
|
152
|
+
|
153
|
+
debug1: SSH2_MSG_NEWKEYS sent
|
154
|
+
|
155
|
+
debug1: expecting SSH2_MSG_NEWKEYS
|
156
|
+
|
157
|
+
debug1: SSH2_MSG_NEWKEYS received
|
158
|
+
|
159
|
+
debug1: Roaming not allowed by server
|
160
|
+
|
161
|
+
debug1: SSH2_MSG_SERVICE_REQUEST sent
|
162
|
+
|
163
|
+
debug1: SSH2_MSG_SERVICE_ACCEPT received
|
164
|
+
|
165
|
+
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
|
166
|
+
|
167
|
+
debug1: Next authentication method: publickey
|
168
|
+
|
169
|
+
debug1: Offering RSA public key: /Users/USER/.ssh/id_rsa
|
170
|
+
|
171
|
+
debug1: Server accepts key: pkalg ssh-rsa blen 279
|
172
|
+
|
173
|
+
debug1: Authentication succeeded (publickey).
|
174
|
+
|
175
|
+
Authenticated to HOST ([IP]:22).
|
176
|
+
|
177
|
+
debug1: channel 0: new [client-session]
|
178
|
+
|
179
|
+
debug1: Requesting no-more-sessions@openssh.com
|
180
|
+
|
181
|
+
debug1: Entering interactive session.
|
182
|
+
|
183
|
+
packet_write_wait: Connection to IP: Broken pipe
|
184
|
+
|
185
|
+
```
|
2
補足
test
CHANGED
File without changes
|
test
CHANGED
@@ -57,3 +57,15 @@
|
|
57
57
|
Ruby 2.1.7p400
|
58
58
|
|
59
59
|
Rails 4.1.12
|
60
|
+
|
61
|
+
CentOS7
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
###補足
|
66
|
+
|
67
|
+
gitlabは公式ドキュメントに従い、yumを使用してインストールしました。
|
68
|
+
|
69
|
+
[https://about.gitlab.com/downloads/#centos7](https://about.gitlab.com/downloads/#centos7)
|
70
|
+
|
71
|
+
ですから、/home/gitなんて存在しないはずなのですが、よくわかりません。
|
1
コマンド記述ミスを修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
```ssh
|
14
14
|
|
15
|
-
HOST:~ USER$ git@HOST:USERNAME/REPO.git
|
15
|
+
HOST:~ USER$ git clone git@HOST:USERNAME/REPO.git
|
16
16
|
|
17
17
|
Cloning into 'REPO'...
|
18
18
|
|