Skip to content

Daily Mysteries

Programming and Beyond

Tags

  • Grunt
  • java
  • libraries
  • linux
  • maven
  • mongo
  • ruby
  • ssh
  • tunnel

Tag: ssh

Linux ssh Command Mysteries

Useful usages of linux ssh command :

  • with `allow agent forwarding` option
    ssh -A root@www.theserveryouneed.com
Posted on 11/11/201311/11/2013Categories LinuxTags linux, sshLeave a comment on Linux ssh Command Mysteries

Creating a tunnel using ssh

If you want to forward a port to your computer from another, and you can create a ssh connection to the computer, then creating the actual tunnel is very simple.

This exemple forwards the port 7000 from that computer to a port on our computer. In this case the local port in 5000

ssh -N -p 22 user@www.server.com -L 5000/localhost/7000
Posted on 30/05/201211/02/2013Categories LinuxTags linux, ssh, tunnelLeave a comment on Creating a tunnel using ssh
Proudly powered by WordPress