--- title: "SSH (SCP/SFTP) (Channels)" slug: "channel-ssh" updated: 2026-07-20T07:29:03Z published: 2026-07-20T07:29:03Z canonical: "docs.lobstersoftware.com/channel-ssh" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # SSH (SCP/SFTP) (Channels) - Go to **Administration** → **Partners** → **Partners/Channels**. - Click the **+** (plus) icon in the bottom-right corner. - Select **Create new channel**. - Select **SSH (SCP/SFTP)** from the protocol list. SSH is the transport protocol. The actual file transfer protocols are **SFTP** (SSH File Transfer Protocol) and **SCP** (Secure Copy Protocol). Use **Allowed sub types** options to select which of the two protocols this channel accepts. *See also*: [FTP, FTPS, SSH, SCP, SFTP](/docs/en/intro-concepts-ftp). ## Settings ![SSH channel settings — top section](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-393PZBKE.png) SSH (SCP/SFTP) channel settings: top section ![Settings for SSH/SFTP with user directory, access rights, and key retrieval options.](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/SSH_Bottom_Screen.png) SSH (SCP/SFTP) channel settings: bottom section | Setting | Description | | --- | --- | | **Allowed sub types** | Defines which file transfer protocols this channel accepts: **SFTP**, **SCP**, or both. A channel can be restricted to one subtype to prevent misuse or to match the capabilities of the partner system. *See also*: [FTP, FTPS, SSH, SCP, SFTP](/docs/en/intro-concepts-ftp). | | **Quota settings** | Daily limits for downloads, uploads, and logins. See the "Quota settings" below. | | **Certificates** | Assigns local and partner certificates to the channel. Certificate assignment is only required when using **public key authentication** instead of username and password. Transport encryption is always active, regardless of whether certificates are assigned. | | **User directory (local)** | The [Home folders](/v1/docs/en/home-folders) assigned to the user of this channel. The directory is created automatically the first time the channel is saved. See also: **Do not create user directory again**. | | **Do not create user directory again** | If checked, the [Home folders](/v1/docs/en/home-folders) and its subdirectories (see `subdir.properties`) are not re-created when the channel is saved again. This checkbox is only visible after the channel has been saved at least once. If unchecked and the channel is saved, the directory is created again — after which the checkbox is automatically re-checked. | | **Chroot** | If checked, the home directory is presented as the root directory (`/`) during an SFTP session. The user sees `/` instead of `/home/[username]`. **NOTE:** This setting applies to SFTP sessions only. It has no effect on SCP. | | **Key type** **Key fingerprint** **Retrieve key** | Clicking **Retrieve key** connects to the partner system specified in **Partner address** and reads its public key. The **Key type** and **Key fingerprint** fields are filled automatically. **IMPORTANT:** The partner address must use the format `ssh://server:port`. The port can be omitted if the server uses the default port **22**. | | **Define event exceptions** | Opens an editor for the file `./etc/admin/datawizard/ftp_user_rules.properties`. Use this file to exclude specific users or directories from triggering profile events on upload. When excluded, the administrator is responsible for processing or removing the uploaded files manually. This is mainly relevant in DMZ deployments. ```plaintext # Exclude user "ftp" entirely from event processing ftp # Exclude specific directories for user "ftp" ftp=dir1;dir2;dir3/sub;dir4/* ``` - A line containing only a username excludes all uploads by that user. - Directories are semicolon-separated paths relative to the user's home folder. No [File names, file patterns, paths, placeholders](/docs/en/intro-concepts-files-names-patterns) or regular expressions are supported, except for `*`. - When a directory is specified, the exclusion applies to that directory only — not to its subdirectories. Using `*` (e.g. `dir4/*`) excludes all subdirectories recursively. Partial wildcards such as `dir4/Orders*` are not supported. | | **Access rights** | Controls read and write permissions per directory path for this channel's user. Managed in the same way as for [FTP channels](/docs/en/channel-ftp). | | **Whitelist** **Blacklist** | Restricts or grants access based on client IP addresses or URLs. Both lists are evaluated. If an address appears on both lists, the **blacklist takes precedence**. | | **Filename charset** | The character encoding used to interpret incoming filenames. Default: `UTF-8`. | ## Quota settings Use quota settings to limit the number of daily operations for this channel. Set any value to `-1` to remove the limit. When a limit is reached, the channel is set to inactive automatically. | Limit | Description | | --- | --- | | **Max. downloads per day** | Maximum number of file downloads per day. `-1` = unlimited. | | **Max. uploads per day** | Maximum number of file uploads per day. `-1` = unlimited. | | **Max. logins per day** | Maximum number of login attempts per day, including failed logins. `-1` = unlimited. | Use the buttons to view current counters (including failed logins) or to reset them. To limit the maximum number of consecutive failed login attempts before the channel is blocked, add the following entry to the SSH service configuration file: ```xml 5 ``` ## SSH client settings The **SSH client settings** are listed in a table on the bottom of the dialog, below **Access rights**. Lobster Data Platform uses **JSch** (Java Secure Channel) as the SSH client library for all outbound SFTP and SCP connections. During the SSH key exchange, JSch negotiates algorithms with the remote server. If no common algorithm is found for any category, the connection fails with `Algorithm negotiation fail`. From release 26.2.0, these JSch connection parameters can be configured **per channel** via a dedicated configuration field in the channel. Before 26.2.0, they could only be set globally as JVM system properties in `wrapper.conf` or `execute.sh`, applying to all SSH channels on the server. > [!NOTE] > These settings control Lobster as an outbound SSH **client** connecting to a partner system. They are unrelated to the SSH server settings in [SshService](/docs/en/ssh-service), which control inbound connections from partners. ### How algorithm negotiation works JSch performs two steps before sending its algorithm lists to the server: 1. **Availability check** (`CheckCiphers`, `CheckKexes`, `CheckSignatures`): JSch tests whether each algorithm in these lists is supported by the local JVM. Any algorithm that is unavailable in the JVM is silently removed before negotiation begins. 2. **KEXINIT negotiation**: JSch sends its final algorithm lists to the server. For each category (cipher, MAC, key exchange, host key), the first entry in the client list that the server also supports is selected. Order determines priority: leftmost = highest preference. If the remaining client list has no overlap with the server's list in any category, the connection is rejected. ### Configuration parameters All values are comma-separated algorithm names. The order of entries determines negotiation priority. | Parameter | Description | | --- | --- | | `jsch.client_pubkey` | Comma-separated list of accepted **public key algorithms** for host key verification and public key authentication. This was the original parameter moved from global JVM scope to per-channel scope in release 26.2.0. Example: `ssh-rsa,ssh-dss,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512` | | `CheckCiphers` | Ciphers to check for JVM availability before the KEXINIT. Unavailable ciphers are removed from both `ciphers.c2s` and `ciphers.s2c` before negotiation. This check runs at connection start and is visible in `client.log`. Example: `aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc,3des-ctr,arcfour,arcfour128,arcfour256` | | `CheckKexes` | Key exchange algorithms to check for JVM availability before the KEXINIT. Unavailable algorithms are removed from the KEX list before negotiation. Example: `diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521` | | `CheckSignatures` | Signature (host key) algorithms to check for JVM availability before the KEXINIT. Unavailable algorithms are removed from the host key list before negotiation. Example: `ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521` | | `ciphers.c2s` | Cipher algorithm list sent to the server for the **client-to-server** direction. The first entry that the server also supports is selected. Example: `aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc` | | `ciphers.s2c` | Cipher algorithm list sent to the server for the **server-to-client** direction. Typically configured identically to `ciphers.c2s`. | | `mac.c2s` | MAC (Message Authentication Code) algorithm list for the **client-to-server** direction. Example: `hmac-md5,hmac-sha1,hmac-sha2-256,hmac-sha1-96,hmac-md5-96` | | `mac.s2c` | MAC algorithm list for the **server-to-client** direction. Typically configured identically to `mac.c2s`. | | `kex` | Key exchange algorithm list sent in KEXINIT. Determines how the session key is established. Example: `ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1` | | `compression.c2s` | Compression methods offered for the client-to-server direction. In most deployments this is `none`. | | `compression.s2c` | Compression methods offered for the server-to-client direction. In most deployments this is `none`. | ### When to configure these settings In most deployments, the JSch defaults work without adjustment. Configure these settings when connections to a specific partner system fail with `Algorithm negotiation fail`. This typically happens with: - Legacy SFTP servers that support only older algorithms (e.g. `diffie-hellman-group1-sha1`, `ssh-rsa`). - Hardened servers that accept only a restricted set of modern algorithms not in JSch's default priority list. - Environments where a specific partner requires a key exchange or MAC that JSch de-prioritizes or excludes by default. > [!WARNING] > **IMPORTANT:** > > Adding an algorithm to the configuration does not guarantee it will be used. It must also be supported by the local JVM. Use `CheckCiphers`, `CheckKexes`, and `CheckSignatures` to verify JVM availability at connection time. Algorithms removed at this step are visible in `./logs/FtpLog/client.log`.