-
Notifications
You must be signed in to change notification settings - Fork 2
Linux SSH Setup
Gavin S. Davies edited this page Mar 24, 2026
·
1 revision
Setup instructions for connecting to the EMPHATIC GPVMs from a native Linux (Debian/Ubuntu/AlmaLinux) machine. For WSL, follow these same steps inside your WSL terminal. For Mac, see Computing Access.
On your local machine:
# Install Kerberos client
sudo apt install krb5-user # Debian/Ubuntu
# sudo dnf install krb5-workstation # AlmaLinux/RHEL
# Install the Fermilab Kerberos config
sudo wget -O /etc/krb5.conf https://authentication.fnal.gov/krb5conf/
# Get a Kerberos ticket
kinit username@FNAL.GOVSSH to the GPVM:
ssh -K -Y username@emphaticgpvm01.fnal.govOn the GPVM — create your working directories and clone the repository:
mkdir -p /exp/emph/app/users/<username>/build
cd /exp/emph/app/users/<username>
git clone https://github.com/EMPHATICSoft/emphaticsoftEnter the Apptainer container and build:
source emphaticsoft/setup/setup_emphatic.sh
sl7-emph
# Now inside Apptainer:
cd /exp/emph/app/users/<username>/build
source ../emphaticsoft/ups/setup_for_development -p
buildtool --generator=ninja# Local machine:
kinit username@FNAL.GOV
ssh -K -Y username@emphaticgpvm01.fnal.gov
# On the GPVM:
source /exp/emph/app/users/<username>/emphaticsoft/setup/setup_emphatic.sh
sl7-emph
# Inside Apptainer — go to build dir and run ninja as usual:
cd /exp/emph/app/users/<username>/build
ninja