The following steps explain how to set up your SSH Key with the Prompt SSH Client for iOS by Panic using iTunes to transfer the SSH Key file. This is a continuation of the previous post regarding the process of setting up SSH Keys within Diet Coda using the copy and paste import method.
Both the file transfer and copy / paste methods can be used in either application (Diet Coda or Prompt) and although some steps will vary in terms of how they look, the general process is very much the same.
To begin, you should connect your iPhone / iPad to your computer using the USB cable and open the iTunes application if it is not automatically started. Wait for your device to be synced and then select it from the left panel.
Next, click on the “Apps” tab and scroll down to the “File Sharing” section towards the bottom. On the left you will see a list of Apps that have file sharing enabled, click on “Prompt“, then “Add…“.
Browse to and select your OpenSSH private key (.ppk), then click “Open“. The name of the key file used here will the name used when displaying the key within Prompt, therefore if you have multiple keys you should name them accordingly.
If the connection details and SSH Key are valid you will presented with the terminal, otherwise an error will be returned stating what was wrong. You must ensure that the SSH Key is added to the authorised keys file of the server you are connecting to. For further help you should refer to the Prompt website or email Panic.