Connecting from Outside

From Wiki
Revision as of 17:18, 10 February 2011 by 10.0.7.14 (talk)
Jump to navigation Jump to search

go back to Main Page, Computational Resources, Services

Access to Local Clusters from outside

So you want to connect from your home/cybercafe/WIFI/whatever.

You will need an ssh client.

The "direct" entrance to the clusters from outside is forbidden for safety reasons, and it must be done through an intermediate computer called betelgeuse.Ask your favourite admin (Martín) for a user/password if you don't already have one (it isn't the same as kimik/tekla)

To do it so, you have two options:

1. Connect first to betelgeuse.iciq.es and then from there to your cluster (kimik, telkla...)

  • In linux, from command line:
       ssh username@betelgeuse.iciq.es -p 2004 -X 

an then once inside betelgeuse; ssh username@namecluster.iciq.es (where namecluster the cluster you want to connect to)

for other programs, RTFM or ask admin for help.

  • In Windows, You will need an ssh client, like Putty. To connect from home/cybercafe/WIFI/whatever:"-p 2004" means port 2004. You can enter the port number in the box next to computer name without the -p, (change the default 22 by 2004).
  • To copy a folder from kimik2 to/from an external linux machine, you can issue the following commands in kimik2:
       scp -r folder-name user@external-ip:folder-name
       scp -r user@external-ip:folder-name .

(the external machine needs to have ssh-server or the like installed; and no paranoid protection)

2. Create a tunnel

  • In linux, type in the command line:

Create the tunnel to the cluster (namecluster):

sudo ssh -X -p 2004 username@betelgeuse.iciq.es -L 22022:namecluster:22

Connect your PC (localhost) to the tunnel

ssh -X username@localhost -p 22022

To transfer files:

sftp username@localhost -p 22022

To copy files:

scp username@localhost:\\directory\ .
  • In Windows, using Putty or similar, it is also possible...

Access to electronic journals from outside

1.- ICIQ proxy

You can have acces to electronic journals from home by using iciq's proxy.

http proxy: proxy.iciq.es port: 8088

The username required is: iciq\youriciqusername, where youriciqusername is in your e-mail adress (youriciqusername@iciq.es) The password required is your e-mail's password

2.- URV proxy

http proxy: proxyauth.urv.net port: 8085

more information there: Intranet_proxy