Showing posts with label ssh. Show all posts
Showing posts with label ssh. Show all posts

Monday, March 15, 2010

Play remote media files over ssh using mplayer


ssh username@192.168.1.60 "cat ~/Video/apprentice.avi" | mplayer -

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 &