SFTP Configuration Error -

SFTP Configuration Error -

SFTP Configuration Error

Wechseln zu:Navigation, Suche

Applies To

Applies to: Cryptshare Ai> Transfer Processing > Archiving > Secure File Transfer Connector

Remote Host OS Version: openSUSE Leap 16.0 (upgraded from 15.6)

Problem

If the remote host is a VM with OS version openSUSE Leap 16.0, the SFTP connection test fails.

The Cryptshare logs show:

net.schmizz.sshj.sftp.SFTPException: EOF while reading packet

  at net.schmizz.sshj.sftp.SFTPEngine.init(SFTPEngine.java:103)

The error appears at: Transfer Processing → Archiving → Secure File Transfer Connector Configuration → Test Connection.

Cause

The SSH daemon (sshd) is configured to launch the SFTP subsystem via a binary path that no longer exists on openSUSE 16.0.


openSUSE 16.0 relocated the sftp-server binary as part of a filesystem reorganization:

openSUSE 15.6 (old path)openSUSE 16.0 (new path)
/usr/lib/ssh/sftp-server/usr/libexec/ssh/sftp-server


The default sshd_config shipped with openSUSE 16.0 still references the old path. When sshd cannot find the binary, it closes the SFTP channel immediately — before sending any response — causing the EOF error in Cryptshare server.


Verification

On the remote host, confirm which path sshd is currently using:

sshd -T | grep subsystem

Incorrect output (causes the error):

subsystem sftp /usr/lib/ssh/sftp-server

Correct output (expected after fix):

subsystem sftp /usr/libexec/ssh/sftp-server

Solution

Run the following commands on the remote host as root:

echo 'Subsystem sftp /usr/libexec/ssh/sftp-server' > /etc/ssh/sshd_config.d/99-sftp-fix.conf

systemctl restart sshd

This creates a drop-in configuration file that overrides the incorrect default path without modifying the base sshd_config, making it upgrade-safe.


Once complete, retry the connection test in Cryptshare server: Transfer Processing → Archiving → Secure File Transfer Connector Configuration → Test Connection.

Note:
Do not edit /etc/ssh/sshd_config directly. Drop-in files under /etc/ssh/sshd_config.d/ are the recommended approach on openSUSE 16.0 and are preserved across package updates.
    • Related Articles

    • Error codes in Cryptshare for Notes

      Cryptshare for Notes Error Codes The following table lists the error codes and generic message texts that are returned by the Cryptshare Server or the Crpytshare for Notes application. 10 The requesting product is not licensed: xyz The Cryptshare ...
    • User receives "ERR SSL PROTOCOL ERROR" when visiting the user interface

      Applies to: All versions of Cryptshare Server Symptom: The user visits the Cryptshare user interface and receives the following error in the browser: ERR_SSL_PROTOCOL_ERROR Alternatively, curl may receive the following HTTP response: ...
    • Https error messages occur

      Applies to: All versions of Cryptshare for Notes Symptom: Https error messages (such as error message 135) occur when trying to use CS4N. Cause: Https error messages (e.g.: 135) indicate that the Domino Server does not regard the SSL Certificate ...
    • Error code 5000

      Applies to: All versions of Cryptshare for Notes Situation: Error code 5000 in Cryptshare for Notes application Cause: This error code occurs, if the Domino Server and the Cryptshare Server cannot establish a connection. Solution: Check Firewall, ...
    • Error "Access denied" when trying to transfer data

      Applies to: All versions of Cryptshare for Notes Symptom: The error message "Access denied" appears when trying to perform a transfer Solution: Check if the following points set up correctly: The transfer directory does not exist or the access rights ...