Tuesday, October 13, 2009

Share simple internet web browsing via SSH X forwarding

Scenario:
You forgot to bring your access to the world wide web for your laptop. ie. didn't bring iPhone, 3G dongle, etc. But your friend wasn't careless and had brought his.

Solution:
You can get your friend to "share" his internet connection via his firefox. Better for him to create a firefox profile for you in this case
- Connect both yours and your friend's laptop to the same network. Either wifi or lan cable.
- ssh -X friend_login@friend_ip_address
- firefox -P your_profile -no-remote &

No comments:

Blog Archive