Working on FileServer component and created server to accept SFTP and SSH connections.
Basic architecture:
[SSH/SFTP Client] -----> [FileServer running on 22 port] -----> [Target SSH/SFTP Server]
Have following questions:
How to change server response text? When telnet to port 22 from command prompt, we see “SSH-2.0-RebexSSH_5.0.9209.0” and there is no option to change this response text to something like “SSH-2.0-MyServer_1.0.0”
How to change or override requested HostName and Port in TunnelRequested event when client requests local port forwarding? Currently these both properties are read only.
Connecting to same server using FileZilla (Directly and via FileServer) but Permissions and Owner/Group properties are different. How to get directory or file Permissions and Owner/Group?
See the Server Connection Version String for instructions on changing the server identifications string.
Unfortunately, this is not supported yet. We will consider it for one of the next releases.
This is another known limitation. Historically, Rebex File Server library has been mostly intended for scenarios where the server presents a virtualized subset of the target server's file system, with simulated owner/group. Additionally, .NET comes from the Windows world, where Unix-style permissions are not even present. And, additionally, even as of .NET 10, APIs from System.IO don't fully expose the owner/group functionality yet, so demand on addressing this limitation is still quite low. We'll probably address it in Rebex File Server v9.0 in a year or two.
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
Applications:
If you need immediate assistance, please contact us directly.