Create SSH configurations
In AppCode, you can save the remote server SSH connection parameters as a dedicated SSH configuration. The created configuration can be then used for configuring remote interpreters, connecting to SFTP deployment servers, and launching SSH sessions.
In the left-hand pane that lists all the existing SSH configurations, click .
Select the checkbox to restrict the use of the SSH configuration to the current project. Such SSH configuration cannot be reused outside the current project. It does not appear in the list of available configurations in other projects.
The SSH configurations are stored in the .idea directory together with the project, which allows sharing them between team members through a VCS.
In the Host, User name, and Port fields, specify the connection parameters. If necessary, you can provide the outgoing port in the Local port field. Otherwise, the port is selected automatically.
Choose the way to authenticate to the server. Do one of the following:
Password: to access the host with a password. To save the password in AppCode, select the Save password checkbox.
Key pair (OpenSSH or PuTTY): to use SSH authentication with a key pair. To apply this authentication method, you must have a private key on the client machine and a public key on the remote server. AppCode supports private keys that are generated with the OpenSSH utility.
Specify the path to the file where your private key is stored and type the passphrase (if any) in the corresponding fields. To have AppCode remember the passphrase, select the Save passphrase checkbox.
If your SSH keys are managed by a credentials helper application (for example, ssh-agent ), choose OpenSSH config and authentication agent.
See the Generating a new SSH key and adding it to the ssh-agent tutorial for details on working with SSH keys.
Click the Test connection button to make sure that the settings are correct and AppCode can connect to the target server.