Using SSH Link in VPN/Tunnel/Gateway for SSH Sessions
Yes, I am using "Use over secure gateway".
Using SSH Link in VPN/Tunnel/Gateway for SSH Sessions
Here is the log when the tunnel is not yet open:
[8/7/2023 10:50:28 AM] Devolutions Protocols version: 2023.8.2.1 macOS
[8/7/2023 10:50:28 AM] Terminal font: Menlo [Menlo, fixed=True]
[8/7/2023 10:50:28 AM] Starting SSH, verbose level: 2
[8/7/2023 10:50:28 AM] Setting up connection
[8/7/2023 10:50:28 AM] Using proxy type: SOCKS5
[8/7/2023 10:50:28 AM] Connecting to port: 22 (IP any)
[8/7/2023 10:50:28 AM] SOCKS5 authentication negotiation
[8/7/2023 10:50:28 AM] SOCKS5 no authentication required
[8/7/2023 10:50:28 AM] SOCKS5 connection
[8/7/2023 10:50:28 AM] SOCKS5 connection complete
[8/7/2023 10:50:28 AM] SSH banner: SSH-2.0-OpenSSH_8.0
[8/7/2023 10:50:28 AM] Sending kex init
[8/7/2023 10:50:29 AM] Received kex init
[8/7/2023 10:50:29 AM] Selected algorithms: curve25519-sha256, rsa-sha2-256, chacha20-poly1305@openssh.com, chacha20-poly1305@openssh.com, implicit by cipher, implicit by cipher, none, none
[8/7/2023 10:50:29 AM] Sending Ed25519 kex init
[8/7/2023 10:50:29 AM] Received Ed25519 kex reply
[8/7/2023 10:50:29 AM] Accepting connection to an unidentifed server this one time
[8/7/2023 10:50:29 AM] Sending new keys message
[8/7/2023 10:50:29 AM] Received new keys message
[8/7/2023 10:50:29 AM] Sending userauth service request
[8/7/2023 10:50:29 AM] Received extension info message
[8/7/2023 10:50:29 AM] Server accepts public key types: ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
[8/7/2023 10:50:29 AM] Received service accepted message
[8/7/2023 10:50:29 AM] Using provided key data
[8/7/2023 10:50:29 AM] the key is passphrase protected
[8/7/2023 10:50:29 AM] Sending userauth init request
[8/7/2023 10:50:29 AM] Received userauth failure: publickey,gssapi-keyex,gssapi-with-mic,password
[8/7/2023 10:50:29 AM] Starting authentication by key
[8/7/2023 10:50:29 AM] Validating public key: rsa-sha2-512
[8/7/2023 10:50:30 AM] Received userauth key ok
[8/7/2023 10:50:30 AM] Sending userauth public key signature: rsa-sha2-512
[8/7/2023 10:50:31 AM] Received userauth success
[8/7/2023 10:50:31 AM] User authenticated successfuly by public key
[8/7/2023 10:50:31 AM] Sending session channel open request: 0/-
[8/7/2023 10:50:31 AM] Received global request: hostkeys-00@openssh.com , no need to reply
[8/7/2023 10:50:31 AM] Received debug message:
/home/ehendrix/.ssh/authorized_keys:1: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
[8/7/2023 10:50:31 AM] Received debug message:
/home/ehendrix/.ssh/authorized_keys:1: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
[8/7/2023 10:50:31 AM] Received channel open confirmation: 0/0 WS 200000/0 MPS 32000/32768
[8/7/2023 10:50:31 AM] Sending pty request: 0/0 xterm-256color width = 224 height = 54
[8/7/2023 10:50:31 AM] Received channel success: 0/0
[8/7/2023 10:50:31 AM] Sending environment variable request: LANG=en_US.UTF-8 0/0
[8/7/2023 10:50:31 AM] Received channel success: 0/0
[8/7/2023 10:50:31 AM] Sending shell request: 0/0
[8/7/2023 10:50:32 AM] Received channel success: 0/0
And here it is when it is open but then doesn't use it:
[8/7/2023 10:41:39 AM] Devolutions Protocols version: 2023.8.2.1 macOS
[8/7/2023 10:41:39 AM] Terminal font: Menlo [Menlo, fixed=True]
[8/7/2023 10:41:39 AM] Starting SSH, verbose level: 2
[8/7/2023 10:41:39 AM] Setting up connection
[8/7/2023 10:41:39 AM] Connecting to port: 22 (IP any)
[8/7/2023 10:42:54 AM] Disconnection in progress
[8/7/2023 10:42:54 AM] Bytes sent: 0, Bytes received: 0
[8/7/2023 10:42:54 AM] Packets sent: 0, Packets received: 0
[8/7/2023 10:42:54 AM] Kex completed: 0
[8/7/2023 10:42:54 AM] DisconnectingNote, I 1st tried with it already open and after that with it already closed hence timestamps. :-)
Using SSH Link in VPN/Tunnel/Gateway for SSH Sessions
I have it set to Connect if unable to ping/port scan on the Folder level and my sessions inherit from it

Then when I open the 1st session it "fails" to ping and I can see it open my SSH Tunnel and then use it. Great.
Then I open a 2nd session for another server. Configuration the same as they all inherit it from the folder level. When I open it, it. then pings but this "fails" as well. So it then proceeds with opening another tunnel. I can then see in the tunnel window it fails as it cannot bind on the same port. But my 2nd session then opens and uses the tunnel that was opened by the 1st session. This is with custom host and port settings for the ping set to localhost:3390:

My tunnel listens on 53390
If in the custom host and port settings for ping I enter localhost:53390 which is the port my tunnel listens on:

Then I can see on my 1st session I open it pings, and then proceeds to open the tunnel and then connects the session. But my 2nd session I then do not see it opening VPN (good) but is then unable to connect. So it is not using the tunnel then that is already open.
If I say "Ask for confirmation to connect"

Then on my 1st session to asks for confirmation and when I click yes opens the tunnel and connects fine. When I then open the 2nd session and click No (as the tunnel is already open), it fails to connect. If I click Yes then it tries to open the tunnel (which off course fails as the port is already open) but then is able to proceed with the tunnel that was opened on the 1st session.
So how can I set it up so on the 1st session it opens my SSH tunnel and on following sessions it uses that same tunnel that was already opened?
Here are my tunnel settings which obviously work:

On another note, there might be a new bug introduced in the past 1-3 versions as now in my VPN tunnel under settings it doesn't show anything for Session:

And this is with type SSH Link (and obviously I have it as it was configured).
Using SSH Link in VPN/Tunnel/Gateway for SSH Sessions
As I mentioned, I got this part working. But still struggling with using it for multiple sessions.
I have it set to Connect if unable to ping/port scan on the Folder level and my sessions inherit from it
Then when I open the 1st session it "fails" to ping and I can see it open my SSH Tunnel and then use it. Great.
Then I open a 2nd session for another server. Configuration the same as they all inherit it from the folder level. When I open it, it. then pings but this "fails" as well. So it then proceeds with opening another tunnel. I can then see in the tunnel window it fails as it cannot bind on the same port. But my 2nd session then opens and uses the tunnel that was opened by the 1st session. This is with custom host and port settings for the ping set to localhost:3390:
My tunnel listens on 53390
If in the custom host and port settings for ping I enter localhost:53390 which is the port my tunnel listens on:
Then I can see on my 1st session I open it pings, and then proceeds to open the tunnel and then connects the session. But my 2nd session I then do not see it opening VPN (good) but is then unable to connect. So it is not using the tunnel then that is already open.
If I say "Ask for confirmation to connect"
Then on my 1st session to asks for confirmation and when I click yes opens the tunnel and connects fine. When I then open the 2nd session and click No (as the tunnel is already open), it fails to connect. If I click Yes then it tries to open the tunnel (which off course fails as the port is already open) but then is able to proceed with the tunnel that was opened on the 1st session.
So how can I set it up so on the 1st session it opens my SSH tunnel and on following sessions it uses that same tunnel that was already opened?
Here are my tunnel settings which obviously work:
On another note, there might be a new bug introduced in the past 1-3 versions as now in my VPN tunnel under settings it doesn't show anything for Session:
And this is with type SSH Link (and obviously I have it as it was configured).
Using SSH Link in VPN/Tunnel/Gateway for SSH Sessions
Thank you, looks like I've got that working now. :-)
Using SSH Link in VPN/Tunnel/Gateway for SSH Sessions
No, in SSH shell the host under General is set to the respective SSH server I try to connect to.

I was under the impression that if I set a VPN/Tunnel/Gateway and in there I create an SSH Link entry that it would then work similar as if I set Proxy on SSH Shell itself. Is that not the case?
For certain subnets we have a bastion server (or SSH jump server). So I created folders for each of these subnets within the sessions.
I then want to configure the "proxy" on the folder level so that all of the sessions within that folder can inherit it.
That then makes it easier if something changes on the proxy level so I do not have to change it on all. Further, to create all the sessions I can then more easily duplicate or export/import under a new folder and then it will inherit the proxy information from the folder.
Using SSH Link in VPN/Tunnel/Gateway for SSH Sessions
I've created a SSH Port Forward Entry on localhost:1080 with dynamic mode:

Then I setup a session with proxy mode Socks5 to localhost:1080

When I then use this, I can see for the Proxy that it is listening and when using the session the connection going through it.
Next I configure another sesion ( for testing) with VPN/Tunnel/Gateway. There I then select an existing SSH Link:

And for Session select the SSH Port Forward session item:

However, when then opening the session I do not see the same entries appearing that it is going through this port forwarder. But I do see that if my port forwarder is not running it will start and listen. Just the connection is not going through it. I would expect for my SSH connection to then be going through this SSH Link.
I'm on 2023.2.6.2
Add sessions to a workspace
OK, so I think I figured I out but not sure if this is expected behavior or a bug.
If I just open Terminals (local) and try to create a new workspace then I get: The workspace is invalid.
If I use Quick Connect to open sessions to hosts and create a new workspace then it works however the "Session Name" is showing blank.
And if I then save this and later try to open it I get the error that the workspace session with ID xxx could not be found.
If I create a new workspace based on sessions I originally created, then it shows those in the Session. But it is showing them with the name as variables instead of resolving the names as what would be seen on the tabs themselves.
But, if I then open it that works.
Even although creating a new workspace is not that hard, it would be great if it were possible to add new sessions or remove sessions from an existing workspace. Removing could be done within the editor. Adding for example by right-clicking on the tab or so, then have like "Save in Workspace" and in there choice of existing or new?
Thx.
Add sessions to a workspace
I just watched the video.
the issue is whereas in the video when you create a new workspace it then shows a list of all the sessions, on mine it is just showing a blank list. Nothing there even although I have multiple, about 6, SSH sessions open on the main window split into 2 horizontal lanes.
Add sessions to a workspace
I wanted to see to use WorkSpaces to have a workspace with a number of sessions making it easier to open. I created the workspace but I do not see any option to add my open sessions to it. Be it any or even all.
In the workspace editor where I would think it would show the list of sessions part of the workspace is empty. There does not seem to be an option to add new ones.
And on the sessions themselves I do not see any option to add them to a workspace.
And when I try to open the workspace I get the error that the Workspace with ID ... could not be found.
I'm sure I'm missing something on how to add, but just can't see what it is. :-)
Version is 2023.1.12.0 which is stating to be the latest available.