dotfiles
shell, editor, ssh.
git clone https://owenrusk.dev/dotfiles.git
commit a4a64d6f67718eb2999dedd9726cab0bba3bae57 parent 5ea074ea38ef2c9df9feb94a27c282cc9019bac8 author Owen Rusk <owen@papermothgames.com> date 2024-05-14 15:20:19 -0500
ssh: config, with the staging box at the office
| install.sh | +2 | -0 |
| ssh/config | +14 | -0 |
diff --git a/install.sh b/install.sh index 188f951..62f8b94 100755 --- a/install.sh +++ b/install.sh @@ -14,6 +14,8 @@ link nvim "$HOME/.config/nvim" link tmux/tmux.conf "$HOME/.tmux.conf" link git/config "$HOME/.config/git/config" link git/ignore "$HOME/.config/git/ignore" +link ssh/config "$HOME/.ssh/config" +chmod 700 "$HOME/.ssh" for f in "$here"/bin/*; do link "bin/${f##*/}" "$HOME/.local/bin/${f##*/}" diff --git a/ssh/config b/ssh/config new file mode 100644 index 0000000..905e446 --- /dev/null +++ b/ssh/config @@ -0,0 +1,14 @@ +# names, not keys. keys stay on the machine they were made on. + +Include config.local + +# the box under the desk at the office +Host staging + HostName 192.168.1.40 + User owen + +Host * + ServerAliveInterval 60 + ServerAliveCountMax 3 + AddKeysToAgent yes + IdentityFile ~/.ssh/id_ed25519