Connect an iPhone to an SFTP photo archive with a private key

In TorchPhoto, select SFTP and choose Private Key as the authentication method. Use a key already authorized for the server account and enter its passphrase if it has one. Confirm that the account can open a file in the photo archive before generating thumbnails.

Use a reader account and a dedicated key

Ask the server administrator for the SFTP hostname, listening port, username and folder as the account sees it. Set up the public key on the server through your usual process. Keep the matching private key on a device you control. A file ending in .pub holds the public key and cannot replace the private key during sign-in.

For a viewing-only archive, a restricted account with read access is enough. If the iPhone will also back up photos, confirm write access to its intended destination rather than granting the account access everywhere.

Add the connection on the iPhone

  1. In TorchPhoto, add a server using SFTP.
  2. Enter the hostname, port, account name and the starting path visible to the SFTP account.
  3. Choose Private Key in the authentication settings. Use the private key input or import option, then enter the passphrase if required.
  4. Test the connection and verify the destination with a known original before preparing a larger folder.

Distinguish sign-in from folder access

If the server rejects authentication, test the same account and key in another SFTP client and confirm they were authorized together. If sign-in succeeds and the folder fails, compare the account’s visible file tree with the path you entered. Some SFTP accounts have an isolated root, so a folder name on the administrator’s system can differ from what the phone should enter.

Keep the key and passphrase out of screenshots, support messages and shared setup notes. A different account or device may need its own authorization.

Documentation