Date Tags eth / ssh

In case you want to make only a ssh connection to some server inside the ETH network you can use the following command:

ssh -t -J ETHZ-NAME@slab1.ethz.ch ETHZ-NAME@SERVER.ethz.ch

OR if you study at D-INFK:

ssh -t -J ETHZ-NAME@jumphost.inf.ethz.ch ETHZ-NAME@SERVER.ethz.ch
  • This jumphost also includes mosh (shell for slow networks) and tmux (screen replacement; shell sessions (bash, zsh, fish ...) inside keep on running even after you have logged off) for convenience.

tmux commands

  • tmux to start a new session
  • ctrl & b; n to create a new window
  • ; means to release previously pressed keys (and continue with right hand side)
  • ctrl & b; n OR p to switch to previous or next window
  • ctrl & b; d to detach from this session (will keep on running)
  • tmux ls view running sessions
  • tmux a -t ID to connect to a specific id