LoginSignup
0
0

More than 1 year has passed since last update.

Raspberry Pi Model B をMacでSSH接続してみた

Last updated at Posted at 2023-01-04

OSイメージをダウンロードする

OSイメージをSDカードに書き込む

Raspberry Pi Imagerを使って、OSを選択しSDカードに書き込む

SSHできるように準備する

/boot配下にsshファイルを書き込む
$ touch /Volumes/boot/ssh

となったのでSDカードを再接続してできた

SSH接続

アイパスがこんな感じで、

ID: pi
Password: raspberry

sshするときは、

ssh pi@raspberrypi.local

なんだけど、piでログインできないなーと思ってたら、
ラズパイ起動後にGUIで設定して、自分のユーザー名をつけてたのを忘れてた。

ssh toguri@raspberrypi.local

これでSSHできた。

参考にしたサイト
https://killtime.blog/raspberry-pi-getting-started-with-no-display/#toc5

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0