![]() ![]() Login with yous STRW username and password combination. You will be presented with a login screen to the graphical enviroment of hostname. PuTTY X11 forwarding wires an SSH tunnel so that X connections at servers localhost:10 are piped to your PC. It will ask you for the password you have given in section 5. Then, bring up your VNC viewer and, for the VNC server that you want to connect to, type “localhost:port”, where “port” is the port you're forwarding. Verify that this display number corresponds with the one use have defined in the tunnel. Once logged in you need to start a vncserver on the remote machine. ![]() To use this tunnel, log into your machine with Putty. All you have to do is click on “Session” at the top left of the “Category:” box, then click on the “Save” button, and you have a saved session!ĥ. Click the “Add” button, and you should see the new tunnel “L5901 :5901” in the “Forwarded Ports:” box.Ĥ. Since the “Destination” box is from the point of view of the computer you're connecting to, you have to put can put there any inside machine that has X11 access, then a colon “:”, then the port, i.e. Finally, in the “Destination” text box below that, you'll put where that port should be forwarded. Fortunately, if youre using version 8.1p1 or later of the built-in SSH client, you can finally use it for X11 forwarding. ![]() However, that X11 forwarding options didnt work in earlier versions. Most of the time you are using display number :1, so you put in the number 5901 (other display numbers :N correspond to porrt number 590N). Its a portable version of OpenSSH client built for Windows and has options for X11 forwarding. Normally you are using display number :0 on you local machine, but we are going to use another display number as :0 is usually not available for tunneling. Here you will input the port that you wish to tunnel. Then, on the right at the bottom, you'll see the “Source Port” text box. On the left, under “Category”, you'll see “Tunnels” as the second from the bottom. Next we need to tell PuTTY how we want to tunnel. Now, so far all we've done is created a session that we could use to log in and use the shell prompt. Notice that I have typed in the hostname in the Host Name field, that I've selected the SSH protocol radio button, and that I've given the session a name that I will be saving to. When PuTTY first starts up, you see the sessions screen you need to type in the information for the computer with which you wish to connect. Setup PuTTY: First, start up the program. Here is a quick step through to get the tunneling up and running:ġ. It is possible to run a similar setup when the outside machine is a Windows based OS. This means that all local X11 requests are translated by ssh on both sides of the connection to, what is called, a tunnel in the ssh protocol. Normally, when using ssh from a Unix machine (outside) to a local Linux box (inside) will automatically setup X11-forwarding through a tunneling mechanism. Our firewall prohibits direct X-Windows connection between outside and inside machines. ![]()
0 Comments
Leave a Reply. |