Difference between revisions of "Category:SSH"

From GelhausRef
Jump to: navigation, search
(Created page with "= Tunneling X11 through intermediate host = '''server1''' intermediate host '''server2''' destination 2200 is an example port on localhost, this could be assigned other ports as ...")
 
m
Line 1: Line 1:
 
= Tunneling X11 through intermediate host =
 
= Tunneling X11 through intermediate host =
 
'''server1''' intermediate host
 
'''server1''' intermediate host
 +
 
'''server2''' destination
 
'''server2''' destination
2200 is an example port on localhost, this could be assigned other ports as well.
+
 
 +
'''2200''' is an example port on localhost, this could be assigned other ports as well.
  
 
== OpenSSH ==
 
== OpenSSH ==

Revision as of 18:36, 14 November 2011

Tunneling X11 through intermediate host

server1 intermediate host

server2 destination

2200 is an example port on localhost, this could be assigned other ports as well.

OpenSSH

$ ssh L2200:server2:22 server1
$ ssh -p2200 -X localhost

PuTTY

1. Set up the tunnel and open a connection to the intermediate server:

Putty X11 tunnel.png

Keep that window open to maintain the port forwarding.

2. Then SSH to localhost:2200 with X11 forwarding enabled.

This category currently contains no pages or media.