SSH on iPad: connecting to a server from an iPad

11 November 2026 · Daniel Bilsborough · Reviewed 11 November 2026

To SSH from an iPad you need three things: an SSH client app on the iPad, a computer or server with SSH turned on that the iPad can reach, and a login for it, either a password or an SSH key. iPadOS has no terminal of its own, so the app is the client.

The steps below use Shell Drop, a free SSH client for iPhone, iPad and iPhone Duo. The server steps apply to any client.

1. Turn on SSH on the machine you're connecting to

The other end runs an SSH server, usually OpenSSH. Most Linux servers and VPS images have it on already.

sudo apt install openssh-server
sudo systemctl enable --now ssh

Check it from another computer on the same network before involving the iPad. If ssh [email protected] works from a laptop, the server end is done. To find the machine's local address, run ipconfig getifaddr en0 on a Mac or hostname -I on Linux.

2. Make sure the iPad can reach it

On the same wifi, the local address works. Away from home it won't, because a machine behind a home router has no address the internet can reach.

The usual fix is a private network such as Tailscale on both the iPad and the server. Each device gets a stable address, typically starting with 100, that works from mobile data or any wifi, and nothing on the server is exposed to the open internet. A VPS with a public IP address is reachable without it.

If the server listens on a port other than 22, note it down for the next step.

3. Add the connection and connect

In Shell Drop, a saved connection holds the host, port, user name and a password or SSH key. Tap it and the session opens in its own tab; open more connections and each gets a tab of its own.

The first time Shell Drop connects to a server it records the server's host key. If that key changes on a later connection, the session is blocked and the mismatch is shown, which is how SSH catches a connection that isn't going where you think it is.

Connection details sync to your iPhone and iPhone Duo through your own iCloud account. Passwords and private keys stay on the iPad.

4. Switch from a password to a key

A password is fine for the first login. A key is better after that: nothing to type, and the server can turn password logins off entirely.

Shell Drop makes two kinds of key on the iPad. Ed25519 is the modern default that every current OpenSSH server, GitHub, GitLab and Bitbucket accept. A Secure Enclave key is made inside the iPad's Secure Enclave, and its private half never leaves the chip. Existing OpenSSH keys can be imported too (Ed25519 and ECDSA P-256, P-384 and P-521; RSA keys aren't supported for import).

The public half has to go into ~/.ssh/authorized_keys on the server. There's no ssh-copy-id on an iPad, so Shell Drop does that job itself: logged in with a password, choose Set up a key for this server and it creates the key, installs it on the server and switches the connection over once the key works. The ssh-copy-id guide shows the manual route, and SSH keys on iPhone and iPad covers key types, one key per device and agent forwarding.

Typing with a keyboard attached

With a Magic Keyboard or another hardware keyboard, typing goes straight to the session and Cmd-V pastes. The trackpad scrolls the terminal and the Tmux history, and F1 to F12 come from the keyboard's function row or the toolbar. The terminal app for iPad page covers the iPad Pro, the keyboard toolbar and the rest of the iPad layout.

5. Keep the work running when the iPad sleeps

An iPad locks, switches apps and changes networks. Shell Drop keeps background sessions running while you use other apps, and reconnects connections that die after a VPN switch. Some disconnects can't be avoided, so anything long-running belongs inside Tmux on the server:

tmux new -A -s main

That attaches to a session called main, or creates it the first time. If the connection drops, the session detaches and keeps running. Reconnect, run the same command, and you're back on the same screen. Shell Drop's Settings > Terminal > Tmux > Auto-attach sessions does that step for restored tabs. The attach and detach guide has the details, and Mosh vs SSH explains why Shell Drop uses SSH plus Tmux rather than Mosh.

When the connection fails

The error usually says which of the steps above to look at:

What you seeWhat it usually means
Connection refusedThe machine answered, but nothing is listening on that port. SSH is off, or it runs on a different port.
Timed outNothing answered. Wrong address, the machine is asleep or off, a firewall is dropping the traffic, or you're away from home without Tailscale or a VPN connected.
Permission deniedThe server rejected the login. Check the user name. For a key, check the public key is in ~/.ssh/authorized_keys for that user and the permissions are right (the permissions fix).
Host key changedThe server's identity doesn't match what was recorded. Expected after reinstalling the server or reusing an address for a new machine; otherwise, find out why before connecting.

To compare a host key fingerprint with what the server actually has, run this on the server itself:

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

On iPhone instead? SSH from an iPhone covers the phone-sized version of the same setup, and the iPhone terminal app page covers the app on a phone.

Questions

Can you SSH from an iPad?

Yes. Install an SSH client app such as Shell Drop, add the server's address, port, user name and a password or key, and connect. The server needs SSH turned on and has to be reachable from the iPad, on the same network or through a VPN such as Tailscale.

Does the iPad have a built-in terminal or SSH client?

No. iPadOS has no terminal app. The Shortcuts app has a Run Script over SSH action that runs one command and returns the output, but for an interactive session you need an SSH client app.

Is there a free SSH client for iPad?

Shell Drop is free on iPad, iPhone and iPhone Duo, with no subscription and no account. Every feature ships with the app.

Can I use SSH keys on an iPad?

Yes. Shell Drop makes Ed25519 keys and Secure Enclave keys on the iPad, and imports OpenSSH Ed25519 and ECDSA keys. Private keys stay on the iPad. Logged in with a password, it can also set up a key for that server and switch the connection over once the key works.

Does Shell Drop support Mosh on iPad?

No. Shell Drop is SSH only. Run Tmux on the server and a dropped connection only detaches the session; reconnect, attach, and you are back on the same screen.

Get Shell Drop on the App Store QR code for Shell Drop on the App Store Reading on a computer? Scan the code with your iPhone camera.