Enabling support for SSH and SFTP

  • Dear Support Team,


    Can you please advise me how to enable support for SSH and SFTP server? I've tried to add it through catalog items in platform builder under SSH-SSL-SMTP node, but they keep getting excluded from image because of some platform settings:



    I could not find SSH/SFTP mentioned in the documentation. What registry settings are used?


    Thanks in advance.


    Best regards,


    Vladimir

  • Hello Vladimir,


    assume the DLLs are not added to the BSP. I will try to provide you a patch within the next two weeks,

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello,


    Thanks for the feedback.


    Just as a note, I see SSHD.DLL and SFTP-SERVER.EXE files under C:\WINCE700\platform\FSIMX6SX\Prebuilt\platcomm. I am not sure if this means that DLLs are already in the BSP but the problem is elsewhere.


    Best regards,


    Vladimir

  • Hello Vladimir,


    you are right, there are some Registry *) setting required to enable the feature. But I am not sure if the both DLLs above are sufficiet for deployment but you may try it.


    *) Regitry in neducfg notation:

    reg open \comm\sshd

    reg set value IsEnabled dword 1

    reg set value UserList string <your name>

    reg save

    REM ensure enter in last line

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hmmm, I am not sure we understand each other. There is no purpose in changing registry when there are no DLLs to support SSH in the image. And I cannot add DLLs to the image because I cannot select required items in the catalog view when creating image. So the initial problem is how to override red x marks from the screenshot in the first post.


    Best regards,


    Vladimir

  • You can add the files via bib-file to image, e.g project.bib:

    sshd.dll $(_FLATRELEASEDIR)\sshd.dll NK SH

    ...


    But it is better to wait for the patch (i will send you bib and reg file too, so we do not need the catalog at all, it is more easy for me:).

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello,


    i put a SSH patch into the download under fsimxsx WEC7 BSP. Please try.


    Extract the file into the folder SSH under ..\common\src\netdcu (maybe some pathes have to be adapt, please check the bib).

    Enablke SSH by:

    [HKLM\comm\sshd]

    IsEnabled=dword:1

    UserList = <your name>

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.