diff --git a/.gitignore b/.gitignore index b85a1ea..6b29e06 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,5 @@ system/.config/phpstorm/config/options/web-types-registry.xml system/.config/phpstorm/config/options/vcs.xml system/.config/phpstorm/config/options/notifications.xml system/.config/mpd/database + +*id_rsa* \ No newline at end of file diff --git a/install b/install index 178e3fc..b42f93b 100755 --- a/install +++ b/install @@ -69,6 +69,7 @@ LINKED_FILES_HOME=( ".config/redshift" ".config/sqlite3" ".config/streamlink" + ".config/ssh" ".config/sxhkd" ".config/topgrade.toml" ".config/Trolltech.conf" diff --git a/system/.config/ssh/config b/system/.config/ssh/config new file mode 100644 index 0000000..48b3ec4 --- /dev/null +++ b/system/.config/ssh/config @@ -0,0 +1,2 @@ +Host * + IdentityFile /home/severin/.config/ssh/id_rsa \ No newline at end of file diff --git a/system/.local/bin/ssh b/system/.local/bin/ssh new file mode 100755 index 0000000..edbb77a --- /dev/null +++ b/system/.local/bin/ssh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +# +# SCRIPT NAME: +# ssh +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# Wrapper script for ssh to use XDG directories +# +# USAGE: +# ./svn +"/usr/bin/ssh" -F "${XDG_CONFIG_HOME}/ssh/config" "${@}" \ No newline at end of file