source : https://www.vscentrum.be/client/windows/putty-proxy
Setting up a proxy in PuTTY
Setting up the connection in PuTTY is a bit more complicated than for a simple direct connection to a login node.
-
First you need to start up pageant and load your private key into it. See the instructions on our "Using Pageant" page.
-
In PuTTY, go first to the "Proxy" category (under "Connection"). In the
Proxy tab sheet, you need to fill in the following information:
|
-
Select the proxy type: "Local"
-
Give the name of the "proxy server". This is vsc.login.node, your usual VSC login node, and not the computer on which you want to log on and work.
-
Make sure that the "Port" number is 22.
-
Enter your VSC-id in the "Username" field.
-
In the "Telnet command, or local proxy command", enter the string
plink -agent -l %user %proxyhost -nc %host:%port
(the easiest is to just copy-and-paste this text).
"plink" (PuTTY Link) is a Windows program and comes with the
full PuTTY suite of applications. It is the command line version of
PuTTY. In case you've only installed the executables putty.exe and
pageant.exe, you'll need to download plink.exe also from the PuTTY web site. We strongly advise to simply install the whole PuTTY-suite of applications using the installer provided on that site.
|
-
Now go to the "Data" category in PuTTY, again under "Connection".
|
-
Fill in your VSC-id in the "Auto-login username" field.
-
Leave the other values untouched (likely the values in the screen dump)
|
-
Now go to the "Session" category
|
-
Set the field "Host Name (or IP address) to the computer you want to
log on to. If you are setting up a proxy connection to access a
computer on the VSC network, you will have to use its name on the
internal VSC network. E.g., for the login nodes of the tier-1 cluster
Muk at UGent, this is login.muk.gent.vsc and for the cluster on which you can test applications for the Muk, this is gligar.gligar.gent.vsc.
-
Make sure that the "Port" number is 22.
-
Finally give the configuration a name in the field "Saved Sessions"
and press "Save". Then you won't have to enter all the above information
again.
-
And now you're all set up to go. Press the "Open" button on the "Session" tab to open a terminal window.
|
No comments:
Post a Comment