diff --git a/install/02-ssh.sh b/install/02-ssh.sh new file mode 100644 index 0000000..1c9acd1 --- /dev/null +++ b/install/02-ssh.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# +# After running this script: +# 1. ssh-keygen is run # TODO +# 2. ssh dotfiles are symlinked +# + +# 1. ssh dotfiles are symlinked +readonly ssh_source="$dotfiles_dir/ssh" +readonly ssh_target="$HOME/.ssh" +link_folder "$ssh_source" "$ssh_target" +printf "ssh dotfiles are symlinked\n" +cat "$ssh_target/id_rsa.pub" diff --git a/ssh/config b/ssh/config new file mode 100644 index 0000000..bda6558 --- /dev/null +++ b/ssh/config @@ -0,0 +1,5 @@ +Host * + IgnoreUnknown UseKeychain + UseKeychain yes + AddKeysToAgent yes + IdentityFile ~/.ssh/id_rsa \ No newline at end of file