Skip to main content

Legacy Algorithm Compatibility

Files.com supports modern, secure SFTP encryption algorithms by default, requiring all inbound SFTP connections to use only secure ciphers. The SFTP Ciphers setting has an option named Require the most secure, modern ciphers for FTP, but allow SFTP connections to use insecure ciphers.

Enabling that option allows clients to negotiate additional algorithms retained for compatibility, including algorithms with known weaknesses. Our algorithm selection policy explains how we distinguish default algorithms from those retained for legacy use.

The setting applies sitewide. You cannot limit it to specific users or ciphers. We do not recommend enabling legacy support. Use it only when a business-critical client cannot negotiate modern ciphers and cannot be upgraded.

Why to Avoid This Setting

Known insecure and weak ciphers are dangerous because users can mistakenly assume the connection is strongly encrypted. Enabling legacy support allows SFTP sessions to negotiate cryptographically weak or deprecated algorithms, which reduces the security posture of your Files.com site and makes it ineligible for the Files.com HIPAA Business Associate Agreement (BAA) program.

Sites running FedRAMP Security Mode cannot enable it at all. That mode disables legacy insecure ciphers and weak Diffie-Hellman parameters and locks both, so neither setting on this page can be turned on while the mode is enabled. Turning the mode off does not turn either setting back on.

The best path to avoid this setting is to ask clients, vendors, or counterparties to upgrade to the latest version of any app they are using. Another option is to switch those connections to FTPS (FTP with TLS encryption) instead of SFTP. In many systems, TLS-based security is stronger than SFTP-based security, and cipher policies can be managed more tightly.

If your organization operates in a regulated environment, you must evaluate the compliance implications before enabling legacy support.

When You Would Use This Setting

Enable legacy cipher support when a third-party SFTP client fails to connect because it only supports deprecated SSH encryption algorithms. This is common with older embedded systems, legacy enterprise software, and outdated integration tools. Upgrading the client is the preferred and safer solution; enable this setting only when that is not possible.

Determining Which Ciphers Are Being Used

Before enabling legacy cipher support, determine which encryption algorithms your clients are currently negotiating. Files.com provides reporting that shows which ciphers are being used by SFTP connections to your site. The report identifies clients already using modern secure algorithms and isolates those that rely on legacy ciphers. In many cases, only a small number of outdated systems require legacy support.

How Cipher Negotiation Works

SFTP uses the SSH protocol. Files.com follows RFC4253, section 7.1External LinkThis link leads to an external website and will open in a new tab when negotiating SFTP algorithms. During the initial handshake, the client and server negotiate encryption algorithms before user authentication occurs.

At that stage, the server does not know which user is connecting. As a result, cipher restrictions apply sitewide, policies cannot be enforced per user, and the client and server select from their mutually supported algorithms according to the protocol's preference rules.

Enabling legacy support expands the accepted algorithms. A client can continue to use modern algorithms, but it can also select an older accepted algorithm based on its preference order. Transfer Encryption & Algorithms explains why the supported list and the algorithms used by a connection can differ.

Algorithms Enabled by This Setting

When legacy cipher support is enabled, the following algorithms become available for negotiation. The list includes both the default secure algorithms and the additional algorithms retained for compatibility.

TypeAlgorithms
Key Exchangeecdh-sha2-nistp521, ecdh-sha2-nistp384, ecdh-sha2-nistp256, diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group18-sha512, diffie-hellman-group17-sha512, diffie-hellman-group16-sha512, diffie-hellman-group15-sha512, diffie-hellman-group14-sha256, diffie-hellman-group14-sha1, diffie-hellman-group1-sha1, curve25519-sha256, curve25519-sha256@libssh.org, curve448-sha512
Server Host Key Algorithmsssh-rsa, rsa-sha2-256, rsa-sha2-512, ssh-ed25519
Encryptionaes128-ctr (a.k.a. AES-128 SDCTR [AES-NI accelerated]), aes192-ctr (a.k.a. AES-192 SDCTR [AES-NI accelerated]), aes256-ctr (a.k.a. AES-256 SDCTR [AES-NI accelerated]), arcfour256, arcfour128, aes128-cbc, 3des-cbc, blowfish-cbc, aes192-cbc, aes256-cbc, chacha20-poly1305@openssh.com, aes128-gcm@openssh.com, aes256-gcm@openssh.com
MAChmac-md5, hmac-sha1, hmac-sha2-256, hmac-sha2-512, hmac-sha1-96, hmac-md5-96, hmac-sha2-512-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha1-etm@openssh.com

The server host key algorithms listed above apply to the default Files.com host keys. Custom host keys use their configured algorithms.

Some of the algorithms in this list are widely considered insecure by modern cryptographic standards. Enabling legacy support allows clients to request those algorithms during negotiation.

No Per-User or Per-Cipher Controls

Cipher policies cannot be restricted to individual users or specific folders. Because encryption negotiation occurs before authentication, the same policy applies to all SFTP connections to the site. If you require strict cryptographic controls with no support for legacy algorithms, leave legacy support disabled.

Allow Weak Diffie-Hellman Parameters for SFTP

Files.com provides a separate setting named Allow Weak Diffie-Hellman Parameters for SFTP. This setting expands compatibility by permitting weaker Diffie-Hellman key exchange parameters that some legacy clients require. It also reduces cryptographic strength and applies sitewide.

Enable it only when a required client cannot connect without it, and note that FedRAMP Security Mode disables and locks it. If you need broad client compatibility for migration purposes but want stronger encryption controls, use FTPS (FTP over TLS) instead, where cipher policies can be managed more tightly.

If you must enable legacy cipher support, document the reason and disable the setting as soon as the legacy client is replaced. The preferred long-term configuration is to leave legacy cipher support disabled and require modern secure SFTP algorithms for all connections.