Dell Poweredge

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, December 19, 2011

SSH Tunnel command

Posted on 5:26 AM by Unknown
Command to setup the tunnel
ssh -N -p 11000 remoteuser@remotecomputer.net -L 5901/localhost/5900

To view from Local computer
vncviewer 127.0.0.1:1

So the first command sets up the tunnel from the local machine to the remote computer using port 11000. The 5901 port on the local machine is forwarded to the 5900 port on the remote machine. Now when you use your local machine to connect to port 5901 on the localhost this allows you to connect to the vnc server on the remote machine via the port 11000 tunnel.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Ubuntu Enterprise Cloud
    Hadoop Cluster I had problems with ssh passwordless logins taking ages on the hadoop Ubuntu cluster I was working on. This was fixed by addi...
  • Programming ATTiny45 using an Arduino Uno
    Wiring of the Programmer The Arduino is programmed using the Arduino IDE and USB with the ArduinoISP sketch from the File Menu located in ex...
  • IPTables Lost After Reboot of Head Node
    IPTables Lost After Reboot of Head Node The iptables were lost every time the machine was rebooted so I found I needed to save the iptabels ...
  • NFS not working on some nodes
    NFS not working The nodes were not working and issuing the command showed that there was an NFS mounting problem jimp@compute-2:~$ rpcinfo -...
  • Wake on LAN
    WakeonLAN I have been working with the wakeonlan command and it does not work with the command eg wakeonlan 00:30:48:70:45:8c . I have howev...
  • PXE Boot a Dban image from an Ubuntu Server
     Dhcp Offers from Ubuntu Server to Compute Nodes ****Note**** exercise extreme care with these notes I have made as you can boot and wipe an...
  • Use an ATTiny45 to auto-boot a NAS200 on power up
    I make no guarantees for the information contained herein, I also cannot be held responsible for data loss as a result of your actions, we m...
  • Using Rsync
    Some quick rsync examples rsync -av /memstick/ /mymaindisk/ This will rsync the memstick directory to mymaindisk directory preserving all as...
  • Cluster Head Node Overnight Temperature
    Using the Temperature sensors on the Motherboard The command sensors-detect was used to setup the sensors, then the command sensors was us...
  • Add Serial Port to TP-Link MR3420
    I added a serial port to the MR3420 by first opening up the case. There are four screws under the rubber feet on the base of the case. Once ...

Categories

  • Cluster Login Problem
  • Hadoop Cluster Passwordless SSH login
  • Open-SSH Installation
  • Software Update Command Line

Blog Archive

  • ►  2013 (6)
    • ►  September (3)
    • ►  April (2)
    • ►  March (1)
  • ►  2012 (16)
    • ►  November (1)
    • ►  October (1)
    • ►  July (2)
    • ►  June (3)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (3)
    • ►  January (1)
  • ▼  2011 (17)
    • ▼  December (1)
      • SSH Tunnel command
    • ►  November (3)
    • ►  August (4)
    • ►  July (1)
    • ►  June (2)
    • ►  May (2)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2010 (18)
    • ►  December (2)
    • ►  September (2)
    • ►  August (2)
    • ►  July (4)
    • ►  June (7)
    • ►  May (1)
Powered by Blogger.

About Me

Unknown
View my complete profile