ssh local port forwarding for testing LinkedIn

The Problem

How to reproduce the issue from a dev machine that has SSH access to the production cluster. 

  • Python code that invokes the LinkedIn API.
  • On dev machine, run ” sudo ssh -L production_id@production_ip”, this will route the localhost:443 to via a target production machine.
  • DNS spoofing such as dnsmasq:


dnsmasq.hosts: “”

sudo service dnsmaq restart

This entry was posted in ssh. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s