Help us understand the problem. What is going on with this article?

raspberry pi 3でSSH接続できない?

More than 3 years have passed since last update.

rasberry pi 3をセットアップし、SSH接続しようとしたがエラーとなる。

*OSイメージは以下を使用
  2016-11-25-raspbian-jessie-lite.zip

# ssh pi@172.31.10.104
ssh: connect to host 172.31.10.104 port 22: Connection refused

リリースノートを確認すると、11/25版で、SSHはデフォルト無効にされたらしい。

raspbianのリリースノート
http://downloads.raspberrypi.org/raspbian/release_notes.txt

2016-11-25:
  * SSH disabled by default; can be enabled by creating a file with name "ssh" in boot partition
    :

記載の手順のとおり、ブートパーティションに"ssh"というファイルを作成すると、

# mount /dev/sde1 /tmp/cf
# touch /tmp/cf/ssh

SSH接続ができるようになった!!

# ssh pi@172.31.10.104
Could not create directory '/root/.ssh'.
The authenticity of host '172.31.10.104 (172.31.10.104)' can't be established.
RSA key fingerprint is fb:0b:9a:06:f1:6d:24:b8:56:1c:ac:1a:37:d4:f1:4f.
Are you sure you want to continue connecting (yes/no)?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした