Running Chrome over SSH tunnel

Posted on In QA

How to run Chrome on remote host over a SSH tunnel? This way, I can access resource that can only be accessed inside the remote host’s network.

Running Chrome over a SSH tunnel is much easier than running Firefox over SSH from a Linux host:

First, ssh to the remote host with -X option:

ssh -X username@remote_host

Then, in the remote shell over SSH, run

google-chrome

Chrome will appear on your local Linux host’s X.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *