multiprocessio / datastation

App to easily query, script, and visualize data from every database, file, and API.
https://datastation.multiprocess.io
Other
2.9k stars 112 forks source link

SSH ignoring non-standard port #274

Closed loicalleyne closed 2 years ago

loicalleyne commented 2 years ago

DataStation Desktop CE 0.11.0

For security reasons we don't use port 22, when trying to run a panel using a server defined in the SSH Connections section getting this error:

[INFO] 2022-06-23T14:10:01 Failed to eval: DSError { "name": "Error", "message": "Could not connect to remote server: dial tcp [IP REDACTED]:22: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."

eatonphil commented 2 years ago

Hey thank you! Could you please share a screenshot of the server settings and whatever other panel or connector settings shown too? Black out whatever you need.

benjaminpwarren commented 2 years ago

Not OP, but same issue - seems like the port value is ignored and the default of 22 is used instead. Screenshot attached

datastation_ssh_error .

eatonphil commented 2 years ago

In retrospect I don't know why I included the Port field. If you include port in the address then it should work.

I'm just going to drop the Port input in the next release and indicate you should specify the port if not :22 in the address field like 1.1.1.1:2929.

eatonphil commented 2 years ago

Here's what this will look like in the future:

image