How To
Remove a Phone
Stop notifications to a phone, and take its key off a host.
A phone reaches a host in two ways: its SSH key in authorized_keys, and its pairing for notifications. Remove both to cut it off.
Stop Notifications
On the host, list the paired phones:
pocketty devices
6b1e0c2a-… Luke's iPhone Ios paired 2026-10-02T18:40:12Z
A phone that turned off Push Notifications shows paused at the end of its line. The daemon keeps its pairing and sends it nothing.
Remove one by its ID:
pocketty unpair 6b1e0c2a-…
The daemon also removes a pairing by itself when Apple reports that the App is gone from the phone.
Remove the SSH Key
Open ~/.ssh/authorized_keys on the host. Keys from pocketty are on lines that start with ecdsa-sha2-nistp256 and end with pocketty. Delete the line of the phone you want to remove.
To find the right line, compare it with Settings → Device Key on that phone. If you don’t have the phone anymore, remove every pocketty line, then add the phones you still use again.
Remove the Host from the Phone
On the host list, swipe left on the host and tap Delete. This only removes it from that phone.