CorefinityCorefinityDocs
Open the Control PanelControl Panel
Access and security · 1 of 7

Connection details

Find the host, port, usernames and commands for connecting to a site over SSH and SFTP, and for reaching its database from your computer.

On this page

Before you start

  • You can open the site in Managed Websites. Anyone who can open a site can see its connection details.
  • Each environment has its own details: choose Production or Staging in the site header first.
  • To connect, you need an SSH key or an SSH or SFTP user on the site, and your IP address on its firewall.

Find the details

  1. Open Connection details

    Go to Managed Websites, choose the site, then Connection details under Access & security.

  2. Copy what you need

    Each field on the Connection card has a Copy button.

    FieldUse it for
    Host and PortAny SSH or SFTP client. Use SFTP on this port, not FTP.
    Shared usernameLogging in as web, with a key added as This environment, This website or My company.
    SSHThe command for a shell.
    SFTPThe command for file transfer.
    Database tunnelReaching the database from your computer.
    Copy known_hostsThe host keys, so your SSH client can check it is talking to the right server.

    Your username is for logging in as yourself, with a key added as Me.

Connect to the database from your computer

  1. Open the tunnel

    Copy Database tunnel, run it in a terminal on your computer and leave it running.

  2. Connect your database client

    Choose Database under Site settings. Connect your client to the Host, Port and Database on its Connection details card, signing in as a database user.

Automate this

Connection details

Answers how to connect to the site or environment, its users with their keys, the company keys that reach it, and ready ssh, sftp, rsync and database tunnel commands for the built-in web user.

GET/api/corestack/sites/{site}/access
curl https://manage.corefinity.com/api/corestack/sites/1042/access \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
Was this helpful?
Open in ClaudeOpen in ChatGPT