Connecting from Outside: Difference between revisions

From Wiki
Jump to navigation Jump to search
Line 5: Line 5:


You will need an ssh client.
You will need an ssh client.
And 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)


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)


from command line:
To do it so, you have two options:
 
'''1. Connect first to betelgeuse.iciq.es and from there to your cluster (kimik, telkla...)
'''
*In linux, from command line:


         ssh user@betelgeuse.iciq.es -p 2004 -X  
         ssh user@betelgeuse.iciq.es -p 2004 -X  
         (where 'user' is your username)
         (where 'user' is your username)
an then once inside betelgeuse; ssh user@namecluster.iciq.es
(where user is you username and namecluster the cluster you want to connect to)


for other programs, RTFM or ask admin for help.
for other programs, RTFM or ask admin for help.


*If you use 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).
*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:
*To copy a folder from kimik2 to/from an external linux machine, you can issue the following commands in kimik2:
Line 21: Line 28:
         scp -r 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)
(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\ .


== Access to electronic journals from outside ==
== Access to electronic journals from outside ==

Revision as of 17:16, 10 February 2011

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 from there to your cluster (kimik, telkla...)

  • In linux, from command line:
       ssh user@betelgeuse.iciq.es -p 2004 -X 
       (where 'user' is your username)

an then once inside betelgeuse; ssh user@namecluster.iciq.es (where user is you username and 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\ .

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