User Tools

Site Tools


lbaops:lbaobservingnotes:vncnotes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lbaops:lbaobservingnotes:vncnotes [2015/12/18 16:38]
127.0.0.1 external edit
lbaops:lbaobservingnotes:vncnotes [2016/06/23 14:10] (current)
chrisphillips
Line 7: Line 7:
   *  Log onto the ssh gateway machine at the observatory with your ATNF username, specifying remote host and port to connect to, e.g. to view the ATCA xbones:1 desktop:   *  Log onto the ssh gateway machine at the observatory with your ATNF username, specifying remote host and port to connect to, e.g. to view the ATCA xbones:1 desktop:
  
---> ''​> ssh -L 5901:​xbones:​5901 my_username@venice.atnf.csiro.au''​+  ​> ssh -L 5901:​xbones:​5901 my_username@venice.atnf.csiro.au
  
   *  Start a vncviewer on the local host, connect to host "​localhost"​ and display 1 or whichever display was specified for the local port (1st number -5900 in the ssh command above). Note the remote desktop number does not have to be forwarded to the local desktop number. For example to tunnel joffrey:1 to local desktop :3 do the following:   *  Start a vncviewer on the local host, connect to host "​localhost"​ and display 1 or whichever display was specified for the local port (1st number -5900 in the ssh command above). Note the remote desktop number does not have to be forwarded to the local desktop number. For example to tunnel joffrey:1 to local desktop :3 do the following:
  
---> ''​> ssh -L 5903:​joffrey:​5901 my_username@venice.atnf.csiro.au''​+  ​> ssh -L 5903:​joffrey:​5901 my_username@venice.atnf.csiro.au
  
 A quicker way to achieve this on many VNC viewers is to use the -via switch and allow VNC to look after the ssh port forwarding for you: A quicker way to achieve this on many VNC viewers is to use the -via switch and allow VNC to look after the ssh port forwarding for you:
  
---> ''​> vncviewer -via my_username@venice.atnf.csiro.au xbones.atnf.csiro.au:​1''​+  ​> vncviewer -via my_username@venice.atnf.csiro.au xbones.atnf.csiro.au:​1
  
 You can create multiple tunnels with a single ssh command. Something along the lines of the following works: You can create multiple tunnels with a single ssh command. Something along the lines of the following works:
  
---> ''​> ssh -L 5901:​xbones:​5901 5902:​xbones:​5902 5903:​caccc1:​5901 5904:​bigrock:​5901 -L 5905:​joffrey:​5901 -L 5906:​joffrey:​5902 -L 5907:​cira10:​5901 -L 5908:​pam0:​5901 -L 5909:​cave00-ext:​5901 IDENT@venice.atnf.csiro.au ​''​+  ​> ssh -L 5901:​xbones:​5901 5902:​xbones:​5902 5903:​caccc1:​5901 5904:​bigrock:​5901 -L 5905:​joffrey:​5901 -L 5906:​joffrey:​5902 -L 5907:​cira10:​5901 -L 5908:​pam0:​5901 -L 5909:​cave00-ext:​5901 IDENT@venice.atnf.csiro.au
  
 Then on the local machine connect as follows Then on the local machine connect as follows
lbaops/lbaobservingnotes/vncnotes.txt · Last modified: 2016/06/23 14:10 by chrisphillips