CogLake User Guide
Connectors

SSH / SFTP

Connect a restricted remote folder using a verified server identity and read-only access.

Before you start

Ask the server administrator for a read-only SFTP account, its allowed root directory and the server's verified SHA256 host-key fingerprint. Obtain that fingerprint through a trusted channel, not just from an unexpected connection warning.

The source account needs read access to files and traversal access to the selected directories. It does not need administrator or unrestricted shell privileges.

Configure CogLake

  1. Choose Add connector → SSH / SFTP.
  2. Enter the host, port, username and remote root as visible to that account.
  3. Enter the verified SHA256 fingerprint.
  4. Choose password or private-key authentication. For key authentication, use the supported unencrypted PEM key in the secret field; never put it in a chat or shared note.
  5. Run Test connection.
  6. Select sync frequency, narrow the folder scope, assign CogLake role access and save.
  1. 1Verify server identity
  2. 2Test restricted access
  3. 3Choose folders and roles
  4. 4Save and synchronize

For a restricted/chroot account, the visible root may differ from the server administrator's filesystem path. Confirm it using that account. A private network destination also requires supported reachability from your CogLake installation.

Verify the import

Start with a small folder containing a supported document. Confirm the file in Knowledge Base and search. Later syncs should pick up changes to source files. Unsupported entries and symbolic links are not followed as ordinary documents.

Resolve failures safely

ErrorWhat to do
Host key missing or invalidRecheck the fingerprint format with the server administrator
Host key mismatchStop and independently verify whether the server key changed
Authentication failedCheck username and password/key authorization
Private key invalidCheck the supported PEM format and that it is not passphrase-encrypted
Permission denied / path missingConfirm the source root and account permissions
Timeout / unavailableCheck host, port and network reachability
Symbolic link / outside rootSelect a real directory inside the permitted root

Do not disable fingerprint verification to make a connection work. See connector troubleshooting for diagnostic and retry steps.

On this page