Connecting to the cluster
The main way of connecting to a cluster or any server is through Secure Shell (ssh
), which is executed via a terminal. Basic terminal skills are assumed here. A couple more complex options have been put in place.
Method |
Description |
From where? |
---|---|---|
Standard way of connecting via command line. |
Connections only from University, proxy or VPN networks. |
|
Proxy jump server to make ssh (see above) available from outside again. |
Whole internet. |
|
“Virtual desktop interface”, (Guacamole), from there you can access your in-house machine – connect to servers and run graphical programs. |
Whole internet |
|
Web-based interface to the cluster. Includes shell access. |
Whole internet |
|
Institutional VPN that will introduce you to the university network. You will be able to connect to servers as if you were inside the center. Third-party client needed. |
Whole internet |
Getting an account
The cluster obeys CVC account system. In most cases, to use the cluster you must obtain an institutional account by contacting the IT department.
Connecting via SSH
A regular ssh
command looks like this
ssh server.cvc.es
# Using a certain username
ssh username@server.cvc.es
# Using a certain username and port
ssh username@server.cvc.es -p 12345
CVC configuration
In the CVC, the default port for ssh
connections is 22345
, so don’t forget to specify it in your command.
If you’re inside the university network, domain names can also be used. I.e., if I were to connect to a server I could use the IP address xxx.xxx.xxx.115
or simply:
ssh username@cudahpc15 -p 22345
Check the assigned name of a server in Resources.
You can avoid retyping your password by setting up your private keys.
Even more, with OpenSSH you can make use of your ~/ssh/config
file for a more seamless connection. Check it here or search online for ssh config file.
Remote access
If you are outside of the university network and want to connect to a cluster or desktop computer in the CVC, connections are not longer available.
But worry not, an SSH tunnel has been set to enable regular work again. First of all, mail IT services or Héctor (hlaria@cvc...
) for an account.
After that, only one more flag is needed in your ssh
command
ssh -J tunnel_user@tunnel_ip:22345 username@cudahcp15 -p 22345
and you should be able to work normally.
Guacamole portal
…
Web Service portal
…
VPN
…