Skip to content

Instantly share code, notes, and snippets.

# directory permissions
chmod 700 ~/.ssh
# all key permissions
chmod 600 ~/.ssh/*
chmod 644 ~/.ssh/*.pub
# special files permissions
chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts
@hthunberg
hthunberg / iterm2.md
Created April 25, 2023 17:20 — forked from squarism/iterm2.md
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)