Version 11 (modified by 10 years ago) (diff) | ,
---|
Viewing Client Video on Your Local Machine
For demos and testing it is frequently helpful to view a video or other display that would be on a client machine.
Setup
- There is a
server
machine running an apache server or equivalent - There is a
client
machine that is able to accessserver
via the data plane - Your SSH keys are loaded onto
client
by GENI so that it is possible for you to SSH to the client from your local machine using a command similar to the followingssh jdoe@pc2.instageni.ku.gpeni.net -p 34106
Instructions
- Create an
~/.ssh/config
on your local machine contain the following (or append the following to an existing config):Host vlc-client # The IP or hostname of the client you want to view the video from HostName pc2.instageni.ku.gpeni.net # The SSH port of the client you want to view the video from Port 34106 # Your SSH username User jdoe # Pick a port to forward from your local machine; IP address and port of the data plane address of the server you are trying to connect to LocalForward 6080 10.10.1.1:80 # The private ssh key you want to use to connect IdentityFile /home/jdoe/.ssh/id_geni_ssh_rsa
- On your local machine, run:
ssh vlc-client
- Leave the SSH connection open
- On your local machine, browse to:
http://localhost:6080
Attachments (2)
-
SSHForward.png (369.6 KB) - added by 10 years ago.
Graphic
-
SSHForward.pptx (1.0 MB) - added by 10 years ago.
Original of drawing on this page
Download all attachments as: .zip