github xpipe-io/xpipe 1.7.16

latest releases: 12.3.5, 12.3.4, 12.3.3...
9 months ago

SSH Timeouts and connection time

Over time, there have always been a few complaints about SSH connection timeout errors and slow SSH connection startup. These especially popped up in the latest release even though no obvious code was changed.

As it turns out, increasing the value for ConnectTimeout in SSH does not actually only change the timeout after which an error is thrown, it is also used by some servers as a guideline for their response time. E.g. if you specify a 10s timeout, some servers will always take 10s to respond. This is of course not mentioned in any of the spec but is more of an implementation choice.

In the latest release this caused more errors as the timeout was set higher. It should also have affected many SSH connections basically since the release of XPipe. I don't know how many people have been affected by this, it heavily depends on which ssh server and configuration your server runs. It happens for example on my proxmox instances and my AWS EC2 instances. If your connections now start up much faster than before, then you are probably affected by it.

This release should fix all of these issues simply by not specifying a connect timeout at all. Great work there. If you are using ConnectTimeout in your SSH configs, just remove it as it makes everything slower without having the effect of a timeout.

I would like to exchange a few words with whoever thought: A newly connected SSH client specified a 10s connect timeout? That means we can sit around idle for 9 seconds. That is a great idea.

Fixes

  • Fix annoying log directory errors that occurred on first startup
  • Fix SSH connections failing on Windows systems where the username contained non-ASCII characters due to an OpenSSH client bug by working around it
  • Fix SSH connection failing when another RemoteCommand was set in a config file
  • Fix child connection validity not updating when parent is changed from invalid to valid
  • Fix some applications launched on Windows, e.g. some terminals and editors, starting in minimized mode
  • Fix SSH config importer not handling file wildcards correctly when they also contained a file extension
  • Fix actions that shut down XPipe, e.g. automatic updates and debug mode, not correctly executing if it exited too fast
  • Fix error about nonexistent logs directory on first startup
  • Fix possible NullPointers when checking whether current SSH session has died

Downloads

Installers

Installers are the easiest way to get started and they come with an automatic updater functionality. They can also be used to upgrade an existing installation to a newer version. The following installers are available:

Portable

If you don't like installers, you can also use portable versions that are packaged as an archive. The following portable versions are available:

Install Script

Install XPipe by pasting the installation command into your terminal. This will perform the full setup automatically.

Windows
powershell -ExecutionPolicy Bypass -Command iwr "https://raw.githubusercontent.com/xpipe-io/xpipe/master/get-xpipe.ps1" -OutFile "$env:TEMP\get-xpipe.ps1" ";"  "&" "$env:TEMP\get-xpipe.ps1" -XPipeVersion "1.7.16"
Bash Script (Linux / MacOS)
bash <(curl -sL https://raw.githubusercontent.com/xpipe-io/xpipe/master/get-xpipe.sh) -v 1.7.16

VirusTotal Analysis

Automated VirusTotal analysis of all artifacts:

Don't miss a new xpipe release

NewReleases is sending notifications on new releases.