GoLand 2017.3 Help

Deployment: Connection Tab

The text box shows the configuration name specified in the Add Server dialog box. Edit the configuration name, if necessary.

Visible only for this project

Use this checkbox to configure the visibility of the server access configuration (deployment configuration).

Select the checkbox to restrict the use of the configuration to the current project. Such configurations cannot be reused outside the current project, they do not appear in the list of available configurations in other projects. For example, if this checkbox is selected in an SFTP configuration, you cannot use your SSH credentials from it when you configure a remote interpreter.

When the checkbox is cleared, the configuration is visible in all GoLand projects and the settings from, including SSH credentials, can be reused.

See for details.

Access type

From this drop-down list, choose the way to access the server. Use the Up and Down keyboard keys to scroll through the list of server configuration types. The available options are:

SFTP: choose this option to have GoLand access the server via the SFTP file transfer protocol.

FTPS: choose this option to have GoLand access the server via the FTP file transfer protocol over SSL (the FTPS extension).

Local or mounted folder: choose this option if the Web server is running in a local or a mounted folder and its document root is NOT the parent of the project root.

In-place: choose this option if the Web server is running on your computer, your project is under its document root, and you do your development directly on the server.

Upload/Download Project Files

In this area, specify the settings for accessing the server to upload and download files to and from.

The set of controls in the area depends on the chosen server access type.

Item

Description

Available for

Folder

In this field, specify the server configuration root.

The server configuration root is the highest folder in the file tree on the server that can be accessed through the server configuration. The easiest way is to use the document root of your Web server as defined in the Web server configuration file. However you can appoint any other existing folder under the document root.

Local or mounted folder

FTP/FTPS/SFTP host

In this text box, specify the host name of the FTP/SFTP server to upload the files to.

FTP, FTPS, SFTP

Port

In this text box, specify the port to use. The default values are:

21 for FTP and FTPS

22 for SFTP

FTP, FTPS, SFTP

Root Path

In this text box, specify the server configuration root relative to your user home which was defined when you registered your account. This folder will be the highest one in the folder structure accessible through the current server configuration. Do one of the following:

Accept the default value /, which points at the user home folder on the server.

Type the path manually.

Click the Browse button and select the desired folder in the Choose Root Path dialog box that opens.

Click the Autodetect button and have GoLand detect the user home folder settings on the FTP/SFTP server and set up the root path according to them. The button is only enabled when you have specified your user name and password.

FTP, FTPS, SFTP

Autodetect

Click this button to have GoLand detect the user home folder settings on the FTP/SFTP server and set up the root path according to them.

FTP, FTPS, SFTP

User name

In this text box, type your user name for authentication to the server.

The button is only enabled when you have specified your user credentials.

FTP, FTPS, SFTP

Log in as anonymous

Select this checkbox to enable anonymous access to the server with your email address as password.

FTP, FTPS, SFTP

Auth type

From this drop-down list, select the client authentication method. The available options are:

Password - select this option to use standard authentication through a password.

To apply this authentication method, you need to have your private key on the client machine and your public key on the remote server you connect to. GoLand supports private keys generated using the OpenSSH utility.

Authentication agent (ssh-agent or Pageant) - select this option if your SSH keys are managed by a credentials helper application (for example, Pageant on Windows or ssh-agent on Mac and Linux).

Choose this option to have the explicit (active) security applied. Immediately after establishing connection, the FTP client on your machine sends a command to the server to establish secure control connection through the default FTP port.

FTPS

Implicit

Choose this option to have the implicit (passive) security applied. In this case, security is provided automatically upon establishing connection to the server which appoints a separate port for secure connections.

FTPS

Advanced options

Click this button to specify additional uploading settings in the Advanced Options dialog box that opens.

FTP, FTPS, SFTP

Web server root URL

In this text box, specify the URL address of the Web server root folder. Both the HTTP and the HTTPS protocols are supported.

To access a server through HTTPS, you need to acquire a certificate file <certificate_name>.cert signed by a recognized authority and import this certificate in the truststore/keystore of the Oracle JRE (Java Runtime Environment) on which GoLand runs. Note that self-signed certificates are rejected as unsafe.

To import a certificate in Oracle JRE:

If you are using the Oracle JRE bundled with GoLand, the default path to the truststore/keystore is <%product_installation_folder>/jre/jre/lib/security/jssecacerts or <%product_installation_folder>/jre/jre/lib/security/cacerts.

Otherwise it is <jre_home>/jre/lib/security/jssecacerts or <jre_home>/jre/lib/security/cacerts.

When asked to enter a password for the truststore/keystore, specify the default one changeit.

Open the GoLand.exe.vmoptions file in the <GoLand_installation_folder>/bin and add the following line to it: