Log in¶
To log in to our HPC resources, you can use SSH client or Open OnDemand. You can find more information here or on separate Open OnDemand page.
SSH client - terminal¶
In Linux/UNIX and Windows 10 and 11 open your terminal and type following command, use -p port when needed (default port is 22):
ssh -p 5522 user@login.devana.nscc.sk
where user is your username, the login01 or login02 will be selected randomly.
First log-in
If you obtain message about the authenticity of the host that can't be established during the first log-in, please, type yes.
If you want to log in specifically to the one of the login nodes, you can use the domain and port from the table.
Login node | IP address / domain | Port |
---|---|---|
login01 | login01.devana.nscc.sk | 5522 |
login02 | login02.devana.nscc.sk | 5522 |
Windows¶
- Open new session from the "Sessions" button on top of MobaXterm screen.
- Navigate to SSH and enter the Remote host, Username, and Port values. Select correct port (5522).
- Click Use private key button and click the blue icon at the end of bar.
- Locate the desired private key and click Open.
- Finally, click OK again to log into the remote server with key pair authentication.
- Enter the Host Name or IP address under "Session" and set the Port to 5522.
- Navigate to Connection > SSH > Auth > Credentials.
- Click Browse... under Private key file for authentication.
- Locate and open the desired private key.
- Click Open again to establish the connection.
PuTTY cannot use keys in OpenSSH format
PuTTY does not support keys in OpenSSH format (generated in Linux or Windows cmd
), so you must first convert your key to .ppk
format using PuTTYgen from the PuTTY package. To do this, run PuTTYgen, click Load to import the private key in OpenSSH format, and then click Save private key to save it in .ppk
format.
OpenVPN Client¶
Ansys software package users only
Following section applies for users who want to use the ANSYS software package.
For using ANSYS software you need to install OpenVPN client and software/plugin into web browser able to use 2FA. The OpenVPN client file (devana_vpn_client.ovpn) can be download from the register portal under the VPN section (VPN icon).
Client Versions
Only OpenVPN client version 3.X is supported. It is recommended to use the latest stable version.
Alternatively, macOS users can use Tunnelblick, which is a free OpenVPN software.
Visit the official OpenVPN website to download the OpenVPN client for Windows. Then, click on the "Download OpenVPN Connect v3" button (see image below).
- Navigate to the directory where the OpenVPN software was downloaded (typically the "Downloads" folder).
- Double-click on "openvpn-connect-3.4.4.3412_signed.msi" (or the latest available version).
- A new installation window will appear.
- Click the "Next" button.
- On the next window, mark "I accept the terms in the License Agreement", then click "Next".
- Click "Install". If a security prompt appears, click "Yes" to proceed. The installation process will take a few seconds.
- Once the installation is complete, click "Finish".
- To open the OpenVPN application, click the Windows icon on the taskbar, type "OpenVPN", and select the application.
- If prompted with the agreement window below, click "Agree".
- In the "Import File" window, choose "Upload File" and either:
- Drag and drop the
devana_vpn_client.ovpn
file. - Click "BROWSE" and locate the
devana_vpn_client.ovpn
file manually.
- The imported file information will now be displayed. Click "Connect".
A new window will open in your default web browser, prompting you to log in using the same credentials as the registration portal.
After logging in, you will be asked for a one-time password (OTP) from your 2FA or prompted to set it up.
Upon successful authentication, you will see "Access Granted" on your screen.
When you return to the OpenVPN application, you should see the "Connected" status.
Visit the official OpenVPN website to download the OpenVPN client for macOS. Then, click on the "Download OpenVPN Connect v3" button (see image below).
- Wait until the download completes, then open it.
- Select the installer for your device (mac with Intel processor or mac with Apple chip).
- Click Continue when the installer window opens.
- Agree to the EULA and install.
- When prompted, enter your device password to install.
- Click Close when the installation completes.
Tunneblick
If you have already install Tunnelblick app you can use it.
- To open the OpenVPN application, click the Windows icon on the taskbar, type "OpenVPN", and select the application.
- If prompted with the agreement window below, click "Agree".
- In the "Import File" window, choose "Upload File" and either:
- Drag and drop the
client.ovpn
file. - Click "BROWSE" and locate the
client.ovpn
file manually.
- The imported file information will now be displayed. Click "Connect".
A new window will open in your default web browser, prompting you to log in using the same credentials as the registration portal.
After logging in, you will be asked for a one-time password (OTP) from your 2FA or prompted to set it up.
Upon successful authentication, you will see "Access Granted" on your screen.
When you return to the OpenVPN application, you should see the "Connected" status.
Distribution support
First, check if your distribution is supported by the OpenVPN community on the following website.
The following distributions:
- Ubuntu 20.04 LTS (Focal Fossa)
- Ubuntu 22.04 LTS (Jammy Jellyfish)
- Linux Mint 21.1 (based on Ubuntu Jammy Jellyfish)
First update the local package index using following command below, for this step you need to know sudo password. Then install apt-transport-https package using command below, which enables the use of HTTPS (HTTP Secure) repositories in APT (Advanced Packaging Tool ) package manager. It allows APT to securely download packages over an encrypted HTTPS connection.
sudo apt update
sudo apt install apt-transport-https
sudo wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub
sudo apt-key add openvpn-repo-pkg-key.pub
# if you have Ubuntu 20.04 LTS replace jammy.list with focal.list
sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-jammy.list
sudo apt update
sudo apt install openvpn3
# to check the OpenVPN 3 version, write the following into the terminal
openvpn3 version
After instalation check your openvpn version by typing openvpn3 version into terminal.
To connect to a VPN server navigate to the directory where devana_vpn_client.ovpn file is located or put whole path for your devana_vpn_client.ovpn file, example see below.
#when I am in the given directory
openvpn3 session-start --config devana_vpn_client.ovpn
#using whole path for devana_vpn_client.ovpn file
openvpn3 session-start --config /home/test/Desktop/devana_vpn_client.ovpn
A new window will open in your default internet browser, prompting you to log in using the same credentials as the registration portal.
After you successfully login, you will be asked for one time password from 2FA or prompted to setup it up.
Upon successful authentication, you will see "Access Granted" on your screen.
To display if you have been susscesfully conected run following coomand (first line in grey box below) see below in the box also with output example, where in the last line is the connection status.
openvpn3 sessions-list
-----------------------------------------------------------------------------
Path: /net/openvpn/v3/sessions/2996e9c1sf35es49c0s91c3s5b2afc4cae4c
Created: Wed Feb 14 14:42:11 2024 PID: 8750
Owner: test Device: tun0
Config name: /home/test/Desktop/devanaclient.ovpn (Config not available)
Session name: 147.213.81.142
Status: Connection, Client connected
To close VPN connection run following command:
# In this case, the whole path is used for devana_vpn_client.ovpn client
openvpn3 session-manage --config /home/test/Desktop/devana_vpn_client.ovpn --disconnect