質問編集履歴

1

実行結果を追加。

2018/01/18 18:51

投稿

Youichi256
Youichi256

スコア204

test CHANGED
File without changes
test CHANGED
@@ -12,9 +12,105 @@
12
12
 
13
13
 
14
14
 
15
+ # 実行結果
16
+
17
+ `-v`をつけてscpを実行した結果は以下の通りです。"Sending command"の部分で止まってしまいます。
18
+
19
+ ```
20
+
21
+ > scp -pv hoge.example.com:/opt/backup/backup.conf .
22
+
23
+ Executing: program /usr/bin/ssh host hoge.example.com, user (unspecified), command scp -v -p -f /opt/backup/backup.conf
24
+
25
+ OpenSSH_6.7p1 Debian-5+deb8u4, OpenSSL 1.0.1t 3 May 2016
26
+
27
+ debug1: Reading configuration data /root/.ssh/config
28
+
29
+ debug1: /root/.ssh/config line 5: Applying options for hoge.example.com
30
+
31
+ debug1: Reading configuration data /etc/ssh/ssh_config
32
+
33
+ debug1: /etc/ssh/ssh_config line 19: Applying options for *
34
+
35
+ debug1: Connecting to hoge.example.com [x:x:x:x:x:x:x:x] port 10022.
36
+
37
+ debug1: Connection established.
38
+
39
+ debug1: permanently_set_uid: 0/0
40
+
41
+ debug1: key_load_public: No such file or directory
42
+
43
+ debug1: identity file /root/.ssh/hoge_rsa type -1
44
+
45
+ debug1: key_load_public: No such file or directory
46
+
47
+ debug1: identity file /root/.ssh/hoge_rsa-cert type -1
48
+
49
+ debug1: Enabling compatibility mode for protocol 2.0
50
+
51
+ debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u4
52
+
53
+ debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 Debian-5+deb8u4
54
+
55
+ debug1: match: OpenSSH_6.7p1 Debian-5+deb8u4 pat OpenSSH* compat 0x04000000
56
+
57
+ debug1: SSH2_MSG_KEXINIT sent
58
+
59
+ debug1: SSH2_MSG_KEXINIT received
60
+
61
+ debug1: kex: server->client aes128-ctr umac-64-etm@openssh.com none
62
+
63
+ debug1: kex: client->server aes128-ctr umac-64-etm@openssh.com none
64
+
65
+ debug1: sending SSH2_MSG_KEX_ECDH_INIT
66
+
67
+ debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
68
+
69
+ debug1: Server host key: ECDSA x:x:x:x:x:x:x:x:x:x:x:x:x:x:x:x
70
+
71
+ debug1: Host '[hoge.example.com]:10022' is known and matches the ECDSA host key.
72
+
73
+ debug1: Found key in /root/.ssh/known_hosts:3
74
+
75
+ debug1: SSH2_MSG_NEWKEYS sent
76
+
77
+ debug1: expecting SSH2_MSG_NEWKEYS
78
+
79
+ debug1: SSH2_MSG_NEWKEYS received
80
+
81
+ debug1: SSH2_MSG_SERVICE_REQUEST sent
82
+
83
+ debug1: SSH2_MSG_SERVICE_ACCEPT received
84
+
85
+ debug1: Authentications that can continue: publickey
86
+
87
+ debug1: Next authentication method: publickey
88
+
89
+ debug1: Trying private key: /root/.ssh/hoge_rsa
90
+
91
+ debug1: Authentication succeeded (publickey).
92
+
93
+ Authenticated to hoge.example.com ([x:x:x:x:x:x:x:x]:10022).
94
+
95
+ debug1: channel 0: new [client-session]
96
+
97
+ debug1: Requesting no-more-sessions@openssh.com
98
+
99
+ debug1: Entering interactive session.
100
+
101
+ debug1: Sending environment.
102
+
103
+ debug1: Sending env LANG = ja_JP.UTF-8
104
+
105
+ debug1: Sending command: scp -v -p -f /opt/backup/backup.conf
106
+
107
+ ```
108
+
109
+
110
+
15
111
  # 環境
16
112
 
17
- ```ここに言語を入力
113
+ ```
18
114
 
19
115
  > uname -a
20
116