Files
sf_bernina_scripts/jupyterlab-on-ra

10 lines
239 B
Bash
Executable File

#!/bin/bash
if [ -z "$1" ]
then
USER=$(zenity --entry --text="Enter user name for opening firefox")
else
USER=$1
fi
ssh -S none $USER@ra 'source /sf/bernina/bin/anaconda_env && salloc -p shared jupyter lab --ip $HOSTNAME --no-browser'