How to SSH into a Raspberry Pi from Android

To SSH into a Raspberry Pi from Android, turn on SSH on the Pi, find its IP address, then connect from an SSH app on your phone using the user name you created and its password. Both devices need to be on the same Wi-Fi unless you have set up a VPN.

Here are the full steps, including the parts that usually go wrong: SSH being off by default, the missing pi user, and .local names that do not resolve on a phone.

Step 1: Turn on SSH on the Raspberry Pi

Raspberry Pi OS ships with SSH turned off. Pick one of these:

Before first boot (Raspberry Pi Imager)

  1. In Raspberry Pi Imager, choose your OS and storage.
  2. Open the OS customisation settings.
  3. Set a user name and password, add your Wi-Fi network, and on the Services tab tick Enable SSH.
  4. Write the card and boot the Pi.

On a Pi that is already running (with a screen and keyboard)

sudo raspi-config

Go to Interface Options, then SSH, and choose Yes. Or do it in one line:

sudo systemctl enable --now ssh

Newer Raspberry Pi OS images no longer have a default pi user with the password raspberry. You log in with the user you created in the Imager or on first boot.

Step 2: Find the Pi's IP address

On the Pi:

hostname -I

The first address, something like 192.168.1.42, is the one you need. If you have no screen on the Pi, open your router's admin page and look for a device called raspberrypi (or the host name you set) in the list of connected devices.

Many guides use raspberrypi.local. That name relies on mDNS, and not every Android phone resolves .local names inside apps. If the name fails with a "could not resolve" error, use the IP address instead.

Tip: reserve that address for the Pi in your router (often called a DHCP reservation or static lease) so it does not change after a reboot.

Step 3: Connect from your phone

You need any SSH client for Android. The details to enter are the same everywhere:

Field Value
Host the IP from step 2, for example 192.168.1.42
Port 22
User name the user you created
Password that user's password

On the first connection the app shows the Pi's host key fingerprint. If you want to confirm it, run this on the Pi and compare:

ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub

Accept it, and you are at the Pi's shell prompt. Try a few commands:

uname -a
vcgencmd measure_temp
df -h

Step 4: Switch to key login (recommended)

Password login works, but a key is safer and saves typing. Generate a key on the phone, copy its public half, and add it on the Pi:

mkdir -p ~/.ssh
chmod 700 ~/.ssh
nano ~/.ssh/authorized_keys

Paste the public key on its own line, save, then:

chmod 600 ~/.ssh/authorized_keys

Disconnect, attach the key to your saved connection, and connect again. When key login works, you can turn off password login by setting PasswordAuthentication no in /etc/ssh/sshd_config and running sudo systemctl restart ssh.

Step 5: Move files to and from the Pi

SSH also carries SFTP, so you can browse the Pi's folders from your phone without setting up Samba or FTP. Open an SFTP view on the same connection and you will see your home folder, for example /home/youruser.

Doing it with ShellPilot

ShellPilot is an SSH client and SFTP file manager for Android that needs no account or sign-up. For a Raspberry Pi it covers the steps above in one app:

  1. Add a connection with the Pi's IP, port 22, your user name and password, and save it as a profile.
  2. On first connect, check and accept the host key. ShellPilot keeps known hosts and warns you if the key changes later.
  3. In Keys, generate an Ed25519 key, use Copy Public Key, and paste it into ~/.ssh/authorized_keys as in step 4.
  4. The keyboard row puts Enter, Esc, Tab, Ctrl and arrow keys above the phone keyboard, which helps in nano and raspi-config.
  5. The ready-made command library includes Raspberry Pi snippets, and the server health view shows CPU, load, memory and disk without installing anything on the Pi.
  6. Browse and download files over SFTP for free. Uploading, renaming and deleting files are part of Pro.

Get ShellPilot on Google Play

If it does not connect

FAQ

Can I SSH into my Raspberry Pi from mobile data? Not directly if the Pi is on your home network, because its 192.168.x.x address is private. Install a mesh VPN such as Tailscale on both the Pi and the phone and connect to the Pi's VPN address, or set up port forwarding on your router with key login only.

What is the default Raspberry Pi SSH password? Current Raspberry Pi OS has no default user or password. You set them in Raspberry Pi Imager or during first boot. Older images used pi and raspberry, and you should change that if you still have it.

Do I need to install anything on the Pi for file transfer? No. SFTP is part of the OpenSSH server that already runs once SSH is on.

We use cookies

We use cookies and similar technologies to enhance your browsing experience, analyze site traffic, and personalize content and ads. By clicking "Accept", you consent to our use of cookies. Learn more in our Privacy Policy.

cosmovexhome.md
Get the app

~/cosmovex/untitled.md unsaved

Your work keeps moving.So should you.

Built for the hours spent watching a terminal wait. Something new from this studio is nearly ready — and it isn't for your desk.

Be first to hearComing soon. Details land in the studio newsletter — the same one below, nothing extra to join.
Meanwhile, the toolkit

~/cosmovex/home.md · rendered with Markdown Editor & MD Viewer

A Markdown editor good enough to write its own homepage.

This page is a Markdown document. You're reading the rendered preview — press or hit if you don't believe it. That round trip — plain text in, a clean document out — is what Markdown Editor & MD Viewer does on your Android phone. Free, offline, no account.

markdown Live Server — 2 editors, 1 file
# Two cursors, one document
My phone is hosting this file over Wi-Fi,
and my desktop is ed
> nothing leaves the device — it's your Wi-Fi, your file
▶  Install free on Google Play★ 4.7 on Play · 10,000+ installs · free

## New in v1.5 — watch it work

✓Version History — every save snapshotted; browse and restore
✓Works offline — no account, no cloud — files stay on your device

## Just shipped

Both offline-first, both free to try.

## The rest of the toolkit

One app per job. No 200 MB do-everything bloat.

AppJobRating
Markdown Editor & MD ViewerWrite and preview Markdown on mobile.4.7★ · 5K+installios
WebEva: Build Websites & CodeBuild websites from your phone.4.4★ · 5K+installios
PDF Viewer & Editor - AIEdit, convert & sign PDFs on mobile.4.9★ · 1K+installios
HTML Viewer & Editor - CodeView & edit HTML on mobile.4.6★ · 1K+installios
SQLite Editor & SQL LearnerManage SQLite databases on mobile.5.0★ · 1K+install
Python IDE - Offline CompilerWrite and run Python on your phone.4.1★ · 1K+install
Aspenote: Offline Voice to TextIt writes it down. On your phone.—install
HostPilot: PHP Server & SQLTurn your phone into a web server.—install
DevBuddy: Offline Dev ToolkitYour pocket developer toolkit.—installios
ShellPilot - Batch SSH ClientSSH terminal & SFTP on the go.— · 1K+installios
API Client -REST & HTTP TesterTest APIs anywhere, anytime.— · 500+installios
JSON Editor - Viewer & FormatView, edit & format JSON instantly.— · 500+installios
Java & Kotlin Compiler IDEWrite and run Java on your phone.4.4★ · 1K+install
XML Viewer & EditorView, edit & validate XML on mobile.— · 5K+installios
Open CSV — Viewer & EditorOpen and edit CSV files on mobile.— · 500+installios
JavaScript Editor — React IDERun JavaScript and React on your phone.— · 1K+install
Image to SVG Converter, ViewerConvert images to SVG and edit vectors on mobile.— · 1K+install
YAML / YML Viewer & EditorView, edit & validate YAML instantly.— · 500+install
Network Toolkit: WiFi IP ToolsNetwork utilities and diagnostic tools.— · 500+install
Code Editor - Text & NotepadEdit text files on mobile.— · 500+install
C / C++ Compiler IDECompile & run C and C++ on your phone.—install
Diagram Maker: Flow & ERDDraw flowcharts & ERDs on mobile.—install
QR Scanner & GeneratorScan codes with confidence—install
Zip Extractor — Unzip RAR 7ZOpen ZIP, RAR, and 7Z files—install
PromptCrate: AI Prompt ManagerYour personal AI prompt library—install

## Free web tools

Background RemoverSnapglowSQLite ViewerQueryDrill

## Questions, answered

Is there a free Markdown editor for Android?

Yes — Markdown Editor & MD Viewer is free on Google Play. It gives you a split-view editor with live preview, syntax highlighting, and HTML/PDF export, and it works fully offline with no account.

Can I edit Markdown from my phone on a desktop browser?

Markdown Editor & MD Viewer includes a Live Server: your phone hosts the document over Wi-Fi and you edit it from any desktop browser with two-way live sync. The file never leaves your device.

Can I make Mermaid diagrams on Android?

Yes — the built-in Mermaid Studio turns plain text into flowcharts, sequence and class diagrams, with pan/zoom and SVG export, right on your phone.

Can I turn Markdown into slides or a PDF on my phone?

Presentation Mode turns any Markdown document into a fullscreen slide deck, and export produces styled HTML or print-ready PDF — all generated on-device.

## From the journal

We're a small studio with one rule: each app does a single job well, works offline, and never asks who you are.

## Stay in the loop


  1. All 25 apps
  2. Guides
  3. Journal
  4. About
  5. Contact
  6. Privacy
  7. Terms

© 2026 Cosmovex — EOF