Skip to main content

Configuring the Use of an SFTP Proxy Server

For additional security, you can configure a proxy server to handle communications between the SFTP server (Revenera’s or your own local server) and Code Insight.

To use a proxy server, the Code Insight database administrator needs to insert new rows in the pas_global_properties table in the Code Insight database to provide the information needed to communicate with the proxy.

To configure the use of a proxy server between the SFTP server and Code Insight, do the following:

Execute this command against the Code Insight database, replacing variables with information about your SFTP server:

INSERT INTO PAS_GLOBAL_PROPERTIES
(SERVER_ID_, KEY_, VALUE_, ENCRYPTED_) VALUES
('0', 'update.socks.proxy-host', '{host}', 0),
('0', 'update.socks.proxy-port', '{port}', 0),
('0', 'update.socks.proxy-user', '{username}', 0),
('0', 'update.socks.proxy-password', '{password}', 0),
('0', 'update.socks.proxy-type', '{SOCKS4/SOCKS5}', 0);

The following describes the variables that the database administrator needs to define in the command:

  • host—IP address or Hostname of the proxy.

  • port—Port used for proxy.

  • username—User name used to authenticate the proxy. Omit this value for a transparent proxy connection.

  • password—Password used to authenticate the proxy. Omit this value for a transparent proxy connection.

  • SOCKS4/SOCKS5—The type of SOCKS Internet protocol used by the proxy. Specify one. (These are protocols currently supported.)