Unable to SSH into Raspberry Pi using Hostname.local in iSH App
- Dominant language
- C
- Stars
- 20.5k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Issue Description:**
I attempted to establish an SSH connection to my Raspberry Pi using the hostname.local address in the iSH app. However, I encountered the following error: `ssh: Could not resolve hostname raspberrypi.local: Name does not resolve`. My intention behind setting up the iSH app was to create a portable, offline coding environment on my Pi, making it crucial to connect via the hostname.local address.
Interestingly, when using the Blink app on my iPad, I can successfully connect using the same hostname.local address and the user authentication credentials configured during the Pi OS setup.
**System Information:**
- **Device:** iPad Pro (12.9-inch) (4th generation)
- **Operating System:** iOS 17.1
- **iSH Version:** 1.3.2 (Build 494)
**Raspberry Pi Information:**
- **Hostname:** raspberrypi.local
- **OS:** Debian GNU/Linux 11 (bullseye) aarch64
- **Hardware:** Raspberry Pi 4 Model B Rev 1.1
- **Kernel:** 5.15.32-v8+
- **Shell:** bash 5.1.4
**Steps to Reproduce:**
1. Attempt SSH connection using `ssh raspberrypi.local`.
2. Encounter error: `ssh: Could not resolve hostname raspberrypi.local: Name does not resolve`.
**Expected Behavior:**
I should be able to establish an SSH connection to the Raspberry Pi using the hostname.local address within the iSH app, similar to the functionality observed in the Blink app.
**Additional Information:**
- I have successfully connected via IP address, but the objective is to connect using the hostname.local address.
- The same hostname.local address works flawlessly in the Blink app, indicating that the Pi's configuration might not be the issue.
**Screenshots:**
**Note:**
This issue significantly impacts my ability to use iSH as an offline coding environment on my Raspberry Pi. Any assistance or guidance to resolve this problem would be highly appreciated.
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named in the report. Start by reproducing `ssh raspberrypi.local` in iSH on iOS 17.1, comparing it with the working IP-address and Blink-app cases; done means the `.local` hostname resolves in iSH or the limitation and supported behavior are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, linux, raspberry-pi
- Domain
- mobile-dev, networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100