When a PuTTY Configuration window opens select Session (it should be selected by default) from the Category panel on the left. In the Host Name (or IP address) field enter the name of the computer you wish to connect to. In the Port field replace 22 (the default) with 31415. Make sure that SSH is selected under Protocol (it should be selected by default). Click on Open.
In the new dialog box enter your username and password.
Once you see the prompt, you are connected to the remote computer.