Add idlab to SSH hosts

This commit is contained in:
coolneng 2021-11-03 18:03:13 +01:00
parent ba00ebdace
commit 767307c383
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
6 changed files with 21 additions and 0 deletions

View File

@ -6,6 +6,7 @@ select_action() {
"unit" "unit"
"aegis" "aegis"
"hpc" "hpc"
"idlab"
) )
action=$(printf '%s\n' "${action_content[@]}" | rofi -no-auto-select -i "$@" -dmenu -p "Choose a session") action=$(printf '%s\n' "${action_content[@]}" | rofi -no-auto-select -i "$@" -dmenu -p "Choose a session")
execute_action "$action" execute_action "$action"
@ -21,6 +22,7 @@ execute_action() {
"unit") launch_session "unit" ;; "unit") launch_session "unit" ;;
"aegis") launch_session "aegis" ;; "aegis") launch_session "aegis" ;;
"hpc") launch_session "hpc" ;; "hpc") launch_session "hpc" ;;
"idlab") launch_session "idlab" ;;
esac esac
} }

View File

@ -44,3 +44,9 @@ host hpc
hostname login.hpc.ugent.be hostname login.hpc.ugent.be
port 22 port 22
identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_ed25519
host idlab
user akasroua
hostname 10.10.193.39
port 22
identityfile ~/.ssh/idlab

BIN
ssh/.ssh/idlab Normal file

Binary file not shown.

BIN
ssh/.ssh/idlab.pub Normal file

Binary file not shown.

Binary file not shown.

13
tmux/.tmuxp/idlab.yaml Normal file
View File

@ -0,0 +1,13 @@
session_name: idlab
suppress_history: false
windows:
- window_name: canvas
layout: even-vertical
panes:
- ssh idlab
- ssh idlab
- window_name: monitor
panes:
- ssh -t idlab "htop"