aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-09-12 20:30:37 +0200
committerDuncaen <mail@duncano.de>2016-09-12 20:30:37 +0200
commit0cdd0d808fa46b44fd7d59e852741d09182b0f95 (patch)
tree5bc2722134301ad75efd402921625744d65fe6e7
parent91edde26634358d8994def797e8ce6340c458459 (diff)
downloaddotfiles-0cdd0d808fa46b44fd7d59e852741d09182b0f95.tar.gz
ssh: add config
-rwxr-xr-xinstall.sh6
-rw-r--r--ssh/config4
2 files changed, 10 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 7a4830b..2de3661 100755
--- a/install.sh
+++ b/install.sh
@@ -40,6 +40,11 @@ _void() {
msg "INSTALL" "void config"
_ln_home "xbps-src.conf" ".xbps-src.conf"
}
+_ssh() {
+ msg "INSTALL" "ssh config"
+ mkdir -pv "$HOME/.ssh"
+ _ln_home "ssh/config" ".ssh/config"
+}
_bin() {
msg "INSTALL" "user bin directory"
_ln_home "bin"
@@ -62,3 +67,4 @@ _git
_xorg
_vim
_void
+_ssh
diff --git a/ssh/config b/ssh/config
new file mode 100644
index 0000000..b741f3a
--- /dev/null
+++ b/ssh/config
@@ -0,0 +1,4 @@
+AddKeysToAgent yes
+VisualHostKey yes
+
+Include config.secret