SSH Tunnel "Post Login" Commands
Hi Carl,
I'm currently traveling and don't have access to my usual setup to show you over a remote session, but I'll try to explain it here.
Basically, I'm trying to replicate the functionality of this command using RDM:
ssh username@remotehost -f -L 5900:127.0.0.1:5900 "x11vnc -localhost"
This command creates an SSH tunnel to 'remotehost' AND also runs the command "x11vnc -localhost" on 'remotehost' (this command can be anything, but in this case it starts the VNC server).
I can create an SSH tunnel using RDM without issues using "VPN/Tunnel/Gateway" entry, or run a command on 'remotehost' using "SSH Shell" entry, but I can't do both at the same time.
It would be great if this "Post Login" feature from "SSH Shell" can be added to "VPN/Tunnel/Gateway":


Thanks.
SSH Tunnel "Post Login" Commands
Unfortunately this tab is not available for SSH Tunnels:

SSH Tunnel "Post Login" Commands
I tried using an "After open" script, but that seems to execute on the local device not the remote, because it complains that 'x11vnc' is not found; is there a way to execute the script on the remote device?
I also tried using the "After open" typing macro, but it didn't work, and I'm not sure exactly where the "typing" happened!
Thanks.
SSH Tunnel "Post Login" Commands
Hello,
Would it be possible to add the "Post Login" tab to the SSH "VPN/Tunnel/Gateway" entry type?
I'm trying to access a device using VNC over an SSH tunnel, but I don't want to the VNC server to always be running, instead I want to start it after creating the tunnel.
This is an example of what I'm trying to achieve:
ssh username@host -f -L 5900:127.0.0.1:5900 "x11vnc -localhost"Thanks.