$ ssh -L 5902:localhost:5901 user@remotehostRun vncviewer
$ vncviewer localhost:2For windows using PuTTY
Add forwarded port:
Connection > SSH > Tunnels
Source port:
5902Destination:
localhost:5901click [Add]
Connect and then run vncviewer
localhost:2
Nav komentāru:
Ierakstīt komentāru