Bug #150

avatar

Connecting to smuxi-server fails via SSH when using passwords

Added by Mirco Bauer 5797 days ago. Updated 5659 days ago.

Status:Closed Start:
Priority:High Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Frontend
Target version:0.6.4
Complexity:

Found in Version:

Votes: 0

Description

When smuxi connects to a remote engine via SSH, and a password is required (pinentry gtk dialog for example), the tunnel setup will fail because smuxi only waits 2 seconds for the tunnel to be established. So smuxi should monitor the tunnel success up to 30 seconds and only fail after that timeout.

Associated revisions

Revision 2065786bd34b7361f101e473d18be1418c81b752
Added by Mirco Bauer 5701 days ago

- Refactored SSH tunnel setup from EngineManager to SshTunnelManager.
- Detect if the SSH tunnel is reading using a TcpClient instead of a hardcoded Thread.Sleep() hack hoping the tunnel is ready after that. This fixes ssh-askpassword support and fixes connection issues for users with high latency or slow SSH servers at the same time. (Closes: #150)
- Use a dynamic local forward port, instead of the smuxi-server port, to support running multiple frontends using SSH at the same time.

History

Updated by Mirco Bauer 5684 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Updated by Mirco Bauer 5659 days ago

avatar
  • Target version changed from 0.8 to 0.6.4

Also available in: Atom PDF