Skip to main content

Sharing LambdaTest Tunnel


LambdaTest is a cross browser testing tool which allows you to test your locally hosted website or web application on 3000+ real browsers. It does so with the help of an SSH(Secure Shell) tunnel which establishes a secure and unique connection from your local system to LambdaTest cloud servers.

Earlier with LambdaTest Tunnel, users belonging to the same organization were able to choose any tunnel they want. So if a team had 5 members and all of them had configured their own tunnels, then they were able to shuffle their SSH tunnel connection with any of the 5 connections. However, that is not the case anymore!

Now, a user can only work on a user-specific SSH tunnel connection. In case you wish to keep a common SSH tunnel connection across all your teammates then you will need to establish a shared LambdaTest Tunnel that would work for all of the teammates, listed under your organization at LambdaTest.

This document will help you share your LambdaTest Tunnel with colleagues listed as team in your LambdaTest account.

Configuring LambdaTest Tunnel


Step 1: Download the zip file of LambdaTest Tunnel for your operating system:

Step 2: Extract the zip file in your system and route your CMD/terminal to the same folder where the zip file is extracted. For demonstration purpose, we have extracted the zip file to desktop so you will find the CMD to be pointed towards the desktop.

Sharing LambdaTest Tunnel

Step 3: To configure a shared LambdaTest Tunnel you would need to append an argument --shared-tunnel to the command used for invoking LambdaTest Tunnel. Syntax to configure a shared SSH LambdaTest Tunnel would be:

LT --user {user's login email} --key {user's access key} --shared-tunnel --tunnelName {string}

So for example, if your user login email is example@lambdatest.com and your user key is 123asd123, the command would be:

LT --user example@lambdatest.com --key 123asd123 --shared-tunnel --tunnelName SharedSSH-Example

Sharing LambdaTest Tunnel

Step 4: As you run the above command you will find the below console UI indicating with a message that the tunnel is successfully established.

Sharing LambdaTest Tunnel

That is it, if your teammates will now open their LambdaTest account then they will find your Tunnel to be active for them by default.

Don't Forget To Name The Shared Tunnel


It could be problematic if 2 or more teammates start sharing their tunnels across the organization, as a best practice we recommend you to name the Shared tunnel appropriately so your teammates could easily identify which SSH tunnel is their own and which is the one shared by you.

To name a shared tunnel you will have to append another argument in the command for configuring tunnel. The new argument would be: -tunnelName {string}

Syntax:

LT --user {user's login email} --key {user's access key} --shared-tunnel --tunnelName {string}

Example

LT --user example@lambdatest.com --key 123asd123 --shared-tunnel --tunnelName SharedSSH-example

Sharing LambdaTest Tunnel

Important Note: If you are running local host at a port which is different from the default port being used your team then make sure to tell them so they can address it in the URL while performing cross browser testing at LambdaTest. For example, if you are running Apache server at port 4200, and want your teammates to hop over a URL that is hosted locally by you, then they will have to specify port 4200 before they hit the start testing button on LambdaTest.

Sharing LambdaTest Tunnel

Kudos! You have successfully created a Shared LambdaTest Tunnel for your organization. If you still have any questions, feel free to share them with us through our 24/7 chat support or by mailing to us on support@lambdatest.com. Happy testing! 🙂