[YLUG] ssh to York

Patrick Dupre pd520 at york.ac.uk
Mon Jul 6 22:07:16 UTC 2009


Thank for your help.
However, their is something that I do not understand:
>
>> I also tried VCN in the past but gave up because it was messing up the
>> routing. My machine was not recognized anymore on the internet.
>
> Use ssh port forwarding to contact it. eg:
>
> 1) ssh to server, run vncserver command.
I did an dI get:
New 'Eschyle:1 (pdupre)' desktop is Eschyle:1

(the shell is now on eschyle)
>
> 2) Look at output. Find screen number
> To get port, add screen number to 5900
>
> 3) ssh -L54000:localhost:{port number} {server}

I did:
ssh -X -L54000:localhost:5900 teucidide.york.ac.uk

but I also tried:
ssh -X -L54000:localhost:5901 teucidide.york.ac.uk

I did not see any difference
What do you mean by: To get port, add screen number to 5900 ?

Thank.

> Leave that ssh session open
>
> 4) vncviewer localhost::54000
>
> Have fun,
> Gary (-;
>
> _______________________________________________
> York mailing list
> York at lists.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/york
>

-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520 at york.ac.uk
==========================================================================


More information about the York mailing list