wiki:desktop_shortcut_to_open_ssh_tunnel_and_then_open_firefox_tab
This is an old revision of the document!
Desktop shortcut to open SSH tunnel and then open Firefox tab
Example of forwarding local port 8181 to server's 8181 and accessing that via browser.
[Desktop Entry] Version=1.0 Type=Application Name=wiki Comment= Exec=bash -c "ssh -fNT -L 8181:localhost:8181 <server>; firefox http://localhost:8181" Icon= Path= Terminal=false StartupNotify=false
This will go into background and you will need to use ps
find the pid and kill the tunnel.
References
wiki/desktop_shortcut_to_open_ssh_tunnel_and_then_open_firefox_tab.1606570815.txt.gz · Last modified: 2020/11/28 14:40 by antisa