Skip to content
Jorjai edited this page Feb 5, 2025 · 3 revisions

Installation

Requirements

  • bash
  • oathtool (for 2FA support)
  • One of the following VPN Clients
    • Cisco Anyconnect Secure Mobility Client (no root required)
    • openconnect (root required)

Steps

Run the following command to download and install EHU Tools:

curl -sSL https://raw.githubusercontent.com/KingJorjai/ehu-tools/main/install.sh | bash

Alternatively, you can clone the repository and install manually:

git clone https://github.com/KingJorjai/ehu-tools.git
cd ehu-tools
bash install.sh

Configuration

LDAP credentials

Log in using your UPV/EHU LDAP credentials

2FA setup

This part is a bit trickier. You will need to obtain your TOTP secret, that is, the code 2FA authenticators use to generate the token that is then used to verify the user's identity.

  • TOTP secret: 'AB1C2DE3FG34H2IKJ' ← We need this one
  • TOTP token: '123456'

No idea about how to obtain the secret?

  1. Go to https://www.ehu.eus/2FA/index.html
  2. Log in using your LDAP credentials
  3. Generate the code
  4. DONE!