Quantcast
Channel: Rebex Q&A Forum - Recent questions and answers
↧

Answered: Chinese characters are not rendering correctly with TerminalControl

This is almost certainly caused by lack of support for double-width characters in Rebex terminal controls.We are aware of this limitation, and plan to add support for it, but so far we have been busy...

View Article


Answered: Difference between ConsoleKeyInfo and FunctionKey.

Hello, please note that Scripting.Send(FunctionKey) internally translates FunctionKey to ConsoleKeyInfo and than calls Scripting.Send(ConsoleKeyInfo). So the execution is basically the same and it...

View Article


Answered: Timeout in StartScripting

I am glad that you were able to solve the issue. Thank you for the information.

View Article

Answered: Certificate.LoadPfx always generates an exception with "PFX...

On Windows CE, the LoadPfx method uses Windows API functions to load the PFX file. During this process, if the PFXVerifyPassword Windows API function call returns FALSE (indicating that the password...

View Article

Answered: Incorrect duplicate file detection with custom FileSystemProvider

Thanks for the report.  I apologize for the inconvenience this might have caused. I have reproduced this problem with Renci SSH client. The problem is caused by the adapter that translates VFS...

View Article


Answered: Will TLS Proxy support wildcard domains?

Yes, this is planned feature, but the schedule was not decided yet.There are two possibilities, how to determine address for outbound tunnel:As shown in your case using the HTTP Host header.Using...

View Article

Answered: The connection was closed by the server

This looks like FileTransferClient was able to establish a connection to the server, but did not receive the "SSH-2.0..." string (instead, the connection was closed).To make sure the issue is not in...

View Article

Answered: How to write to a specific position in Console.GetOutputStream() in...

Unfortunately, SSH Server Console is very simple and it does not support direct cursor positioning. We will consider to add support for it in the future.In the meantime, you can use standard cursor...

View Article


Answered: SSH Terminal on ARM devices

Hi,Rebex SSH components already support these ARM-based devices and others, as long as they run an OS supported by .NET 8 or .NET 9:.NET 8.0 - Supported OS versions.NET 9.0 - Supported OS versionsOne...

View Article


Answered: General Purpose SSH Login that with works with devices that have...

Hi,You can instruct Rebex SSH to prefer 'keyboard-interactive' if available, and only use 'password' otherwise:var ssh = new Rebex.Net.Ssh(); ssh.Settings.PreferInteractiveAuthentication = true;...

View Article

Answered: Extracting Attached .eml Files in Raw Format

Hi,We'll add an option to the next release that will make it possible to retrieve the original unmodified content of the embedded "message/rfc822" entities. This will only be possible using...

View Article

Answered: Rebex TLS Proxy - Problems connecting to Azure SQL

You placed the certificate into in: section, which is invalid. The certificate needs to be placed outside (at the same level as in, out, idleTimeout. Please try this instead: tunnels: - name:...

View Article

Answered: LinkedResource not working on SMTP Azure

Hello, does this only happen when sending the email via Azuire SMTP service?Does the HTML body use Content IDs to reference the linked resources, or a different approach?When you save the e-mail before...

View Article


Answered: Is it possible to implement one-time-password (OTP) with SFTP file...

Hi, our SFTP server library does not currently offer a public API for this. We will most likely add this in a future release, but that will take a year or two because we are currently busy with other...

View Article

Answered: Segregating Buru users to different drop directories

This can be done by using different virtual path mapping for each user:userA: / => C:\Buru\A userB: / => C:\Buru\BThis can be done either using the Web adminitration (Users - click on specific...

View Article


Answered: How to get the image bytes of VirtualTerminal using. .NET Framework...

To resolve the problem, add reference to Rebex.Terminal.Control.dll assembly to your project, and replace "TerminalCaptureFormat" with "TerminalImageFormat" in the GetTerminalImage method:public static...

View Article

Answered: Buru Server Upgrade 2.17.0

Please follow the troubleshooting guide here: https://www.rebex.net/doc/buru-sftp-server/getting-started/troubleshooting/It would be also very helpful if you shared us what caused the issue. Thanks

View Article


Answered: How set up Rebex TLS Proxy to establish outbound connection...

Hello,Rebex TLS Proxy is prepared for such scenario, but we strongly discourage to use it in production environment. Bypassing certificate check lowers the security and in some cases removes purpose of...

View Article

Answered: How to resolve the exception "connection closed by the server...

The "Connection was closed by the Server. Make sure you are connecting to SSH or SFTP Server." error occurs in Rebex SFTP's Connect method when the server does not respond with a proper SSH server...

View Article

Answered: How to implement something similar to sshuttle using Rebex SSH...

Hi,The sshuttle tool actually uploads its Python source code to the server, executes it there, and uses that instead of SSH's tunneling. So, basically, it's not really an SSH VPN, it's a proprietary...

View Article

Answered: Does Rebex zip can work with long paths?

In general, Rebex ZIP works with path using .NET System.IO API. If the system can handle long paths, then Rebex ZIP will handle it as well.For example, I have just tested that there is no issue with...

View Article


Answered: When is ServerSession.Current set during login to Sftp Fileserver?

This is actually a somewhat peculiar case, thanks for bringing it to our attention.This particular Exists call was not made via the server, but rather from the FileServerUser constructor:new...

View Article


Answered: SSH. TerminalOptions. Current limitation of the number of columns.

Thanks for bringing this to our attention. Unfortunately, terminal behavior varies a lot and some terminals are quite a challenge. I'm not sure whether we would be able to address this particular...

View Article

Answered: TLS proxy - SSE channel timeouts

Currently the maximal value for idleTimeout is 2147483 which is 24 days, 20 hours, 31 minutes and 23 seconds.If this not enough for you, we can add support for infinite timeout. Just let us know.

View Article

Answered: How to read data when HttpResponse has no Content-Length

Hi,Actually, with "Connection: closed", the server is supposed to close the connection immediately after sending the data, and that should be handled by HttpResponse without issues.However, it's...

View Article


Answered: How to transfer file between two servers in SFTP using .NET...

Your code should work. Are you having any problems with it? In that case, use FileTransferClient's logging API to create a debug log, which should make it possible to tell what's going on.Some general...

View Article

Answered: TinyTLSProxy on XP - how to proxy from TLS10 to TLS12

TLS to TLS is conversion is not available in the current public version. Please download the preview version from...

View Article

Answered: GraphClient return most recent messages first

Currently, the GraphClient class does not have high-level API for sorting. However, you can specify it in native format using GraphMessageSearchQuery.RawOrderBy property like this:using (var client =...

View Article

Answered: GraphClient limit $select

Unfortunately, it is not possible to specify custom $select in the current version.We already planned this feature, but we have decided to postpone it because of 3 things we were unsure:how to handle...

View Article



Answered: TLS Proxy Shell/Command Prompt Opens then Immediately Closes

Please note that tlsproxy.exe accept various arguments as commands. Please run tlsproxy.exe --help in the Command Prompt or Power Shell, whatever suits you the best.Using the tlsproxy.exe tunnel add...

View Article

Answered: tlsproxy doesn't start

Please run the proxy from command line in interactive mode:tlsproxy.exe run Does it work or an error is displayed?Also please make sure, you have specified valid logging path and also make sure that...

View Article

Answered: Adding files with Rebex.IO.ActionOnExistingFiles.Rename

Unfortunately, it is not possible to set item properties during compression. However, you can utilize the ProgressChanged event to get information about successfully processed files and update items...

View Article

Answered: Why is my connection being immediately closed?

The connection is closed by the client explicitly after the initial directory listing fails. So, the question is why the initial directory listing fails?The client issued command LIST -l which is not...

View Article


Answered: HTTPS legacy R4.7 for .net cf-3.5

Hello,We can provide any of the previous versions, and we can also help you determine what's going on with R5.17 / R5.18. But version R4.7 of Rebex HTTPS (Legacy or non-legacy) does not exist. Could...

View Article

Answered: buru-sftp-server: Change hostname in authentication banner

Hi,is ssh.banner or ssh.shellHostName what you are looking for?https://www.rebex.net/doc/buru-sftp-server/configuration/config/ssh/If not, can you please provide how exactly is the internal hostname...

View Article

Answered: Syslog LOCAL Facility Codes

Please note that facility values local0 thru local7 are not explicitly defined in Rebex Syslog API currently. However, you can specify any value between 0 and 255 for facility in the API like this:var...

View Article


Answered: Response on wrong Ethernet interface when using multiple interfaces

Hi, and thanks!We have not encountered this particular problem before, although we have other encountered issues on machines with multiple network interfaces when routing table has been configured in...

View Article


Answered: Have you any update on this, I can't see version 8 released yet and...

Ah, sorry, it looks like version 8 still needs some work.We actually extended version 6 support until November 2025 when we published 7.0.9083 and R6.17 (and also here), but forgot to update the forum...

View Article

Answered: Is there a method to avoid using CBC ciphers or weak SSH ciphers in...

Unfortunately, there is no possibility to configure SSH ciphers in pre-compiled Rebex Tiny SFTP Server. It's basically a test app, and this is outside its scope. However, you can purchase a Rebex File...

View Article

Answered: zip: Is it possible to zip a string (json file in memory) and save...

Yes, this is possible. Sample code:using System.IO; using System.Text; using Rebex.IO.Compression; ... // 1. Your JSON payload string json = "{\"foo\": \"bar\", \"count\": 123}"; // 2. Create a new...

View Article

How to disable unwanted SSH algorithms

Preset parts need to be adjusted; how to remove unwanted SSH algorithms?

View Article


Image may be NSFW.
Clik here to view.

Answered: web admin interface shows old version installed.

Hello, please try to logout and login again in the web admin page. If it does not help, please look (and send us) your web admin startup log. You can find it in your Web admin menu "Logs / Web admin...

View Article

How to run a simple TLS Proxy?

Hello! I wanted to run RebexTlsProxy on legacy Windows 7 as a TLS proxy on localhost, without port forwarding. So that programs that can use proxies can connect to TLS-1.3 web servers. tlsproxy should...

View Article


Answered: POP3 + OAUTH2 + Office365 - ERR Server Unavailable. 21 on...

Thank you for providing the log. The error is being returned directly by the outlook.office365.com POP3 server.Authentication completes successfully, so the client and server configuration appear...

View Article

Mail Attachments over SMTP have wrong content-type

Hello,when we send mails with attachements over SMTP alle Attachemnets are declared Content-Type: application/octet-stream; this never was a problem until now we have a customer which email sw can't...

View Article


Answered: Issue with rsa-sha2-512 in PubkeyAcceptedAlgorithms on RHEL 9

It looks like Rebex SFTP might be selecting rsa-sha2-256 as a preferred algorithm. Which version of Rebex SFTP do you use? Currently, the algorithm selection is not perfect due to backward...

View Article

Image may be NSFW.
Clik here to view.

No '226 Transfer complete' on large files with FTP

When downloading a large file (860M), I did not get the 226 Transfer complete at the end of the transfer so the transfer is stuck at the end. For small files, there was no problem. This was tested with...

View Article

Answered: Websocket Memory Usage continually increasing

Hi, this should be fine, as long as you don't keep accumulating references to instances of any of those objects somewhere indefinitely, preventing GC from claiming them.Have you tried running the...

View Article

Cancellation of all operations of Rebex SFTP

I work on a project which sends out messages on various ways. One of them is "place a file containing the message on an SFTP server behind a HTTP proxy". I use Rebex SFTP to build this functionality....

View Article


Answered: Issue after upgrade to 2.17.3 - shellTypeDefault

Hi Mats,Please try ctrl+F5 to force-refresh the scripts, this should solve the issue. Please let me know if it helped and also the browser type and version would be very helpful so we can test why the...

View Article