Offsite Viewing of Astronomy Computing Services Documents
This website (http://cs.astro.umass.edu/) is not
public. If you are a member of the UMass Astronomy department, have
ssh access to nova1 and want to read documents on this
site from outside the Astronomy LAN, execute this command remotely:
ssh -fNL 8000:cs:80 USERNAME@nova1.astro.umass.edu
Where USERNAME is your username on nova1.
What the above does:
- -f This puts ssh in the background and turns off stdin.
- -N This tells ssh not to run a remote command.
We use this (and -f) in aid of what we're really
after…port-forwarding (-L):
- -L 8000:cs:80 This tells ssh to forward any
connections to port 8000 on your local computer to port 80 on
cs via the connection to nova1.
After authenticating on nova1 the ssh command will run in the
background. Then you can view this site in your browser by going
to:
http://localhost:8000/