start new:
tmux
start new with session name:
tmux new -s myname
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
When connecting to a remote server via SSH it is often convenient to use SSH agent forwarding so that you don't need a separate keypair on that server for connecting to further servers.
This is enabled by adding the
ForwardAgent yes
option to any of your Host
entries in ~/.ssh/config
(or alternatively with the -A
option). Don't set this option in a wildcard Host *
section since any user on the remote server that can bypass file permissions can now als use keys loaded in your SSH agent. So only use this with hosts you trust.
python main.py data.json
#!/bin/bash | |
# | |
# Update PVE machine | |
# Update all running containers | |
set -x | |
exec 3>&1 4>&2 | |
trap 'exec 2>&4 1>&3' 0 1 2 3 RETURN | |
exec 1>${0}.log 2>&1 1>&3 | |
# list of container ids we need to iterate through |
python3 main.py data.json