Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: ssh connection tunnelling

...

1. In the Host Name field, type shell.metropolia.fi
2. In the Category panel, select Tunnels (Connection -> SSH -> Tunnels). In the Source port field, type 8888. In Destination, select Dynamic.

Image RemovedImage Added

4. Click on Add. The window should now look like this:

Image RemovedImage Added

5. Open a connection to the shell.metropolia.fi server by clicking on Open and log in.

...

1. Select Tools -> Internet Options, and in the Connections tab, select LAN Settings.
2. Check the box in Use a proxy server for your LAN.
3. In the Socks field, type Localhost and in the Port field, type 8888.

Image RemovedImage Added

Mozilla Firefox

1. Select Tools -> Options -> Advanced -> Network tab -> click on the Settings button.
2. Check the box in Manual Proxy Configuration.
3. In the HTTP Proxy field, type localhost and in the Port field, type 8888.

Image RemovedImage Added

File transfer using WinSCP

1. In the Host Name field, type shell.metropolia.fi
2. In the Category panel, select Tunnels (Connection->SSH->Tunnels). In the Source port field, type 8889 and in the Destination field, type xxx.metropolia.fi:22 (the name of the server that you are uploading files to).
3. Open a connection to the shell.metropolia.fi server.
4. Start WinSCP application.
5. Check the Advanced options box.

Image RemovedImage Added

6. Select Connection -> tunnel and check the Connect through SSH tunnel box.
7. In the Host name field, type localhost.
8. Username: your xxx.metropolia.fi server username.
9. Password: your xxx.metropolia.fi server password.
10. Make sure that the Port number is 22.

Image RemovedImage Added

11. Go back to Session.
12. In the Host name field, type localhost.
13. Username: your xxx.metropolia.fi server username.
14. Password: your xxx.metropolia.fi server password.
15. Make sure that the Port number is 22.
16. Click on Login and you will be connected to the xxx.metropolia.fi server.

Image RemovedImage Added

Remote connection to the Windows server

1. In the Host Name field, type shell.metropolia.fi
2. In the Category panel, select Tunnels (Connection->SSH->Tunnels). In the Source port field, type 8888. In the Destination field, type xxx.metropolia.fi:3389 (xxx.metropolia.fi = the name of the server that you are connecting to).

Image RemovedImage Added

3. Click on Add. The window should look like this:

Image RemovedImage Added

4. On your workstation, start Remote Desktop Connection and in the Compter field, type localhost:8888. Click on Connect and a connection to the Windows server will be made.

Image Added Image Removed


SSH-tunnelointi