Dell Poweredge

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

Monday, August 30, 2010

SSH Tunnel Example

Posted on 9:30 AM by Unknown
Tunnel ssh from Local Machine to Remote Machine
and from Remote Machine to a Local Machine on
Remote Machines network.

Local to remote machine with 5900 tunnel
ssh -L 5900:127.0.0.1:5900 -l username -p 22 theactualurl.net

Remote to machine on remote network with 5900 to 443 tunnel
sudo ssh -L 5900:127.0.0.1:443 -l username -p 22 remotemachine.local

This allowed one on the local machine to connect to a webserver using https on the remote machines network. The address on the local machine is https://localhost:5900 or https://127.0.0.1:5900 and the connection is tunnelled through port 5900 but the actual server uses port 443.
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)
    • ►  November (3)
    • ►  August (4)
    • ►  July (1)
    • ►  June (2)
    • ►  May (2)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ▼  2010 (18)
    • ►  December (2)
    • ►  September (2)
    • ▼  August (2)
      • SSH Tunnel Example
      • NIC IP Aliases
    • ►  July (4)
    • ►  June (7)
    • ►  May (1)
Powered by Blogger.

About Me

Unknown
View my complete profile