Is it possible to connect to a Pi3, over Bluetooth for SSH, for iOS? I know you can connect to it with BlueZ, and SSH is possible over wifi, but I can't find anything about doing both. The advantage would be to do it in an area without wifi. Maybe it is possible, but there is not an app for it on iOS?

  • "it in an area without wifi" -> You could just use a wifi hotspot on one or the other device. – goldilocks Aug 14 '16 at 18:13

No, it is impossible to set up SSH over Bluetooth. Even more so with Apple's Bluetooth implementation on iOS.

SSH works over a regular TCP/IP stack implemented on Ethernet or WiFi family of protocols. Bluetooth implements its own protocols with different purpose.

You can however configure either the Raspberry Pi or the iOS device to serve as a hotspot and connect to it with the other device(s).

After you connected two devices you can use regular network tools (including SSH) in your ad-hoc network. You could then use an SSH client application on iOS.

With a hotspot on an iOS device you need just to take care not to (over)use your data plan for Raspberry Pi communications (like updates).

  • 1
    hacks.mozilla.org/2017/02/… is this not accurate? – William Sep 23 '18 at 1:22
  • 1
    @William The article you posted refers to a connection between a RPi and a Mac, not an iOS device. It might be worth a try but there is reason for doubts. – Gerome Bochmann Oct 7 '18 at 9:41
  • @William the difference is that article sets up a serial over Bluetooth connection to give you a terminal. It's the same use-case as an SSH session, but doesn't use the SSH protocol. I'm still looking for an SSH solution, but a wireless serial connection is good enough for me. – YetAnotherRandomUser Mar 9 at 15:17
  • It's not generally impossible to set up SSH over Bluetooth, it's just highly involved. Or was; things on the Pi might be more automated than they were a few years ago. – YetAnotherRandomUser Mar 9 at 15:20

I don't know about iOS but you definitively can with do SSH over BLuetooth on a laptop. You just need to setup a PAN (Personal Area Network) which is emulating an Ethernet-Connection. There you get a virtual NIC (Network Interface Card) and then you can SSH into your Raspberry Pi.

See Bluetooth Network on eLinux. I'm not sure if this is the most up to date version. I can provide more links if you want to give it a try.


Bluetooth PAN Network Setup with BlueZ 5.X (Use Pi as host)

Raspberry Pi 3 Bluetooth Networking (Using macOS as gateway to the internet)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.