Armadilloフォーラム

G3マニュアル12.3.G3 へのファイルの転送: authenticityエラー

sannguyen

2016年8月8日 20時04分

サンです。
いつもお世話になっております。

G3マニュアル12.3. Armadillo-IoT G3 へのファイルの転送、 実行の結果:

●atmark@atde6:~$ sudo ifconfig
eth0 Link encap:イーサネット ハードウェアアドレス 00:0c:29:59:e3:f0
inetアドレス:192.168.0.59 ブロードキャスト:192.168.0.255 マスク:255.255.255.0
   省略

●root@armadillo-iotg:~# curl -d "temp=30" 192.168.0.59:8081
Thanks!

●atmark@atde6:~/code$ ruby server.rb -p 8081 -o 0.0.0.0
[2016-08-08 19:45:12] INFO WEBrick 1.3.1
[2016-08-08 19:45:12] INFO ruby 2.1.5 (2014-11-13) [i386-linux-gnu]
== Sinatra (v1.4.7) has taken the stage on 8081 for development with backup from WEBrick
[2016-08-08 19:45:12] INFO WEBrick::HTTPServer#start: pid=3193 port=8081
Temperature is 30
192.168.0.109 - - [08/Aug/2016:19:45:45 +0900] "POST / HTTP/1.1" 200 8 0.0050

●root@armadillo-iotg:~# apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

●atmark@atde6:~/code$ scp client.rb atmark@[192.168.0.59]:~/
ssh: connect to host 192.168.0.59 port 22: Connection refused
lost connection

●atmark@atde6:~/code$ sudo apt-get install openssh-server
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下の追加パッケージがインストールされます:
省略
Creating SSH2 ED25519 key; this may take some time ...
256 f8:b3:57:cf:e1:8e:03:de:a3:20:a3:18:ec:ed:62:14 /etc/ssh/ssh_host_ed25519_key.pub (ED25519)
systemd (215-17+deb8u3) のトリガを処理しています ...

●atmark@atde6:~/code$ scp client.rb atmark@[192.168.0.59]:~/
The authenticity of host '192.168.0.59 (192.168.0.59)' can't be established.
ECDSA key fingerprint is 78:88:8c:ca:4b:d0:33:29:02:82:bf:9c:a1:11:fd:31.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
lost connection

●atmark@atde6:~/code$ scp client.rb atmark@[192.168.0.59]:~/
The authenticity of host '192.168.0.59 (192.168.0.59)' can't be established.
ECDSA key fingerprint is 78:88:8c:ca:4b:d0:33:29:02:82:bf:9c:a1:11:fd:31.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.59' (ECDSA) to the list of known hosts.
atmark@192.168.0.59's password: atmark
Permission denied, please try again.
atmark@192.168.0.59's password: root
Permission denied, please try again.
atmark@192.168.0.59's password:

うまくできませんでした。どうしたらいいのか教えて頂けないでしょうか。
宜しくお願い致します。

コメント

at_mizo

2016年8月8日 20時28分

溝渕です。

> G3マニュアル12.3. Armadillo-IoT G3 へのファイルの転送、実行の結果:

マニュアルでは、ATDE6からArmadillo-IoT G3にファイルを転送しています。

> ●atmark@atde6:~$ sudo ifconfig
> eth0 Link encap:イーサネット ハードウェアアドレス00:0c:29:59:e3:f0
> inetアドレス:192.168.0.59ブロードキャスト:192.168.0.255 マスク:255.255.255.0
>    省略

ATDE6のIPアドレスは、"192.168.0.59"です。

> ●atmark@atde6:~/code$ scp client.rb atmark@[192.168.0.59]:~/

これだと、ATDE6からATDE6にファイルを送信していませんか?

以上です。

sannguyen

2016年8月8日 20時59分

サンです。
すみません、間違いました。

●root@armadillo-iotg:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:0c:1b:81:04
inet addr:192.168.0.68 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::211:cff:fe1b:8104/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
   省略

ArmadilloのIPアドレスは”192.168.0.68”です。
●atmark@atde6:~/code$ scp client.rb atmark@192.168.0.68:~/
The authenticity of host '192.168.0.68 (192.168.0.68)' can't be established.
ECDSA key fingerprint is 3e:d4:6a:72:c7:c3:88:49:a3:34:bd:f2:9b:d0:0e:f2.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
lost connection
atmark@atde6:~/code$ scp client.rb atmark@192.168.0.68:~/
The authenticity of host '192.168.0.68 (192.168.0.68)' can't be established.
ECDSA key fingerprint is 3e:d4:6a:72:c7:c3:88:49:a3:34:bd:f2:9b:d0:0e:f2.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.68' (ECDSA) to the list of known hosts.
atmark@192.168.0.68's password:
Permission denied, please try again.
atmark@192.168.0.68's password:

ATDE6からArmadilloにファイルを送信しましたが、ダメでした。
宜しくお願い致します。

at_mizo

2016年8月8日 21時09分

溝渕です。

> atmark@atde6:~/code$ scp client.rb atmark@192.168.0.68:~/
> The authenticity of host '192.168.0.68 (192.168.0.68)' can't be established.
> ECDSA key fingerprint is 3e:d4:6a:72:c7:c3:88:49:a3:34:bd:f2:9b:d0:0e:f2.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added '192.168.0.68' (ECDSA) to the list of known hosts.
> atmark@192.168.0.68's password:

ここでは、Armadillo-IoT G3のatmarkユーザーのパスワードを入力する必要が
あります。デフォルトのパスワードは"atmark"です。

http://manual.atmark-techno.com/armadillo-iot-g3/armadillo-iotg-g3_prod…

正しくパスワードが入力できているかご確認ください。

以上です。

sannguyen

2016年8月9日 11時38分

溝渕様、
いつもお世話になっております。
分かりました。
丁寧に説明して頂き、どうも有難うございました。
感謝いたします。
また宜しくお願い致します。