Files
sf_bernina_scripts/jupyter-notebook-on-ra
2022-05-06 16:54:09 +02:00

10 lines
244 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 notebook --ip $HOSTNAME --no-browser'